mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +00:00
fix map WAD check for savegame validation.
This commit is contained in:
parent
eeac40fffc
commit
1e8b3ea65d
1 changed files with 3 additions and 3 deletions
|
@ -1890,12 +1890,12 @@ static bool CheckSingleWad (const char *name, bool &printRequires, bool printwar
|
|||
bool G_CheckSaveGameWads (FSerializer &arc, bool printwarn)
|
||||
{
|
||||
bool printRequires = false;
|
||||
FString text;
|
||||
const char* text;
|
||||
|
||||
text = arc.GetString("Game WAD");
|
||||
CheckSingleWad (text.GetChars(), printRequires, printwarn);
|
||||
CheckSingleWad (text, printRequires, printwarn);
|
||||
text = arc.GetString("Map WAD");
|
||||
CheckSingleWad (text.GetChars(), printRequires, printwarn);
|
||||
if (text != nullptr) CheckSingleWad (text, printRequires, printwarn);
|
||||
|
||||
if (printRequires)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue