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

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401049
This commit is contained in:
Scott Ehlert 2007-07-07 04:06:47 +00:00
parent acb5225fff
commit cce60de20f

View File

@ -273,8 +273,10 @@ SMCParseResult CGameConfig::ReadSMC_LeavingSection()
{
/* If we shouldn't read the rest of this section, set the ignore level. */
m_IgnoreLevel = 1;
m_ParseState = PSTATE_GAMES;
} else {
m_ParseState = PSTATE_GAMEDEFS;
}
m_ParseState = PSTATE_GAMEDEFS;
break;
}
case PSTATE_GAMEDEFS_SIGNATURES: