mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +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)
|
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: Polyobjects could contain segs that weren't flagged as such.
|
||||||
- fixed: Trying to show a popup crashed in the SBARINFO code because of a
|
- fixed: Trying to show a popup crashed in the SBARINFO code because of a
|
||||||
missing NULL pointer check.
|
missing NULL pointer check.
|
||||||
|
|
|
@ -1642,6 +1642,7 @@ static FString ParseGameInfo(TArray<FString> &pwads, const char *fn, const char
|
||||||
const char *lastSlash = strrchr (fn, '/');
|
const char *lastSlash = strrchr (fn, '/');
|
||||||
|
|
||||||
sc.OpenMem("GAMEINFO", data, size);
|
sc.OpenMem("GAMEINFO", data, size);
|
||||||
|
sc.SetCMode(true);
|
||||||
while(sc.GetToken())
|
while(sc.GetToken())
|
||||||
{
|
{
|
||||||
sc.TokenMustBe(TK_Identifier);
|
sc.TokenMustBe(TK_Identifier);
|
||||||
|
|
Loading…
Reference in a new issue