mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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