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:
parent
acb5225fff
commit
cce60de20f
@ -273,8 +273,10 @@ SMCParseResult CGameConfig::ReadSMC_LeavingSection()
|
|||||||
{
|
{
|
||||||
/* If we shouldn't read the rest of this section, set the ignore level. */
|
/* If we shouldn't read the rest of this section, set the ignore level. */
|
||||||
m_IgnoreLevel = 1;
|
m_IgnoreLevel = 1;
|
||||||
|
m_ParseState = PSTATE_GAMES;
|
||||||
|
} else {
|
||||||
|
m_ParseState = PSTATE_GAMEDEFS;
|
||||||
}
|
}
|
||||||
m_ParseState = PSTATE_GAMEDEFS;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case PSTATE_GAMEDEFS_SIGNATURES:
|
case PSTATE_GAMEDEFS_SIGNATURES:
|
||||||
|
Loading…
Reference in New Issue
Block a user