Fixed bug where multiple "#default" sections in game config file would be ignored if the first section does not work for the running game/mod
Fixed bug where multiple "#default" sections in game config file would be ignored if the first section does not work for the running game/mod
1.1 --- a/core/GameConfigs.cpp Thu Jul 05 20:17:08 2007 +0000
1.2 +++ b/core/GameConfigs.cpp Sat Jul 07 04:06:47 2007 +0000
1.3 @@ -273,8 +273,10 @@
1.4 {
1.5 /* If we shouldn't read the rest of this section, set the ignore level. */
1.6 m_IgnoreLevel = 1;
1.7 + m_ParseState = PSTATE_GAMES;
1.8 + } else {
1.9 + m_ParseState = PSTATE_GAMEDEFS;
1.10 }
1.11 - m_ParseState = PSTATE_GAMEDEFS;
1.12 break;
1.13 }
1.14 case PSTATE_GAMEDEFS_SIGNATURES: