- 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

View file

@ -1861,6 +1861,15 @@ static FString ParseGameInfo(TArray<FString> &pwads, const char *fn, const char
sc.MustGetString(); sc.MustGetString();
DoomStartupInfo.Song = sc.String; DoomStartupInfo.Song = sc.String;
} }
else
{
// Silently ignore unknown properties
do
{
sc.MustGetAnyToken();
}
while(sc.CheckToken(','));
}
} }
return iwad; return iwad;
} }