- fixed: The GAMEINFO parser needs to use C mode.

SVN r2089 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-02 23:37:43 +00:00
parent 92b8ac26c0
commit 1c2cc7bd3a
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
January 2, 2010 (Changes by Graf Zahl)
- fixed: The GAMEINFO parser needs to use C mode.
- fixed: Polyobjects could contain segs that weren't flagged as such.
- fixed: Trying to show a popup crashed in the SBARINFO code because of a
missing NULL pointer check.

View File

@ -1642,6 +1642,7 @@ static FString ParseGameInfo(TArray<FString> &pwads, const char *fn, const char
const char *lastSlash = strrchr (fn, '/');
sc.OpenMem("GAMEINFO", data, size);
sc.SetCMode(true);
while(sc.GetToken())
{
sc.TokenMustBe(TK_Identifier);