mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 07:32:28 +00:00
- fixed: The GAMEINFO parser needs to use C mode.
SVN r2089 (trunk)
This commit is contained in:
parent
92b8ac26c0
commit
1c2cc7bd3a
2 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue