- Ignore unknown properties in the GAMEINFO lump instead of throwing an error.

This commit is contained in:
Braden Obrzut 2014-01-10 02:16:41 -05:00
parent b3f5de356f
commit 44c4736de3
1 changed files with 9 additions and 0 deletions

View File

@ -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;
}