diff --git a/docs/rh-log.txt b/docs/rh-log.txt index bfae5c120..a79dbdeed 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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. diff --git a/src/d_main.cpp b/src/d_main.cpp index 3de2bab7c..60546f68e 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -1642,6 +1642,7 @@ static FString ParseGameInfo(TArray &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);