Fix F3+1 handling in Event Mode

Since Event+Pay is treated as Free Play mode, the debug overlay menu
would get stuck on Free if Event Mode was on.
This commit is contained in:
Devin J. Pohly
2014-02-22 20:14:20 -05:00
parent aec671b8df
commit d07dd295a4
+1 -1
View File
@@ -683,7 +683,7 @@ class DebugLineCoinMode : public IDebugLine
{
if (GAMESTATE->GetCoinMode() == CoinMode_Home)
GamePreferences::m_CoinMode.Set(CoinMode_Free);
else if (GAMESTATE->GetCoinMode() == CoinMode_Free)
else if (GAMESTATE->GetCoinMode() == CoinMode_Free && !GAMESTATE->IsEventMode())
GamePreferences::m_CoinMode.Set(CoinMode_Pay);
else
GamePreferences::m_CoinMode.Set(CoinMode_Home);