mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- Ignore unknown properties in the GAMEINFO lump instead of throwing an error.
This commit is contained in:
parent
b3f5de356f
commit
44c4736de3
1 changed files with 9 additions and 0 deletions
|
@ -1861,6 +1861,15 @@ static FString ParseGameInfo(TArray<FString> &pwads, const char *fn, const char
|
|||
sc.MustGetString();
|
||||
DoomStartupInfo.Song = sc.String;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Silently ignore unknown properties
|
||||
do
|
||||
{
|
||||
sc.MustGetAnyToken();
|
||||
}
|
||||
while(sc.CheckToken(','));
|
||||
}
|
||||
}
|
||||
return iwad;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue