qbsp: fix dangling std::string access through string_view
This commit is contained in:
parent
0c24e7bbd0
commit
f5ed79c936
|
|
@ -1206,7 +1206,7 @@ void EnsureTexturesLoaded()
|
|||
return;
|
||||
}
|
||||
|
||||
std::string_view wadstring = map.world_entity()->epairs.get("_wad");
|
||||
std::string wadstring = map.world_entity()->epairs.get("_wad");
|
||||
|
||||
if (wadstring.empty()) {
|
||||
wadstring = map.world_entity()->epairs.get("wad");
|
||||
|
|
|
|||
Loading…
Reference in New Issue