fix uninitialized values used by MEMCARDMAN calls before GameState::Reset

This commit is contained in:
Glenn Maynard
2004-08-22 01:11:17 +00:00
parent d4edd2d95f
commit a68dec18aa
+4
View File
@@ -52,6 +52,10 @@ GameState::GameState()
m_iNumTimesThroughAttract = -1; // initial screen will bump this up to 0
m_iRoundSeed = m_iGameSeed = 0;
m_PlayMode = PLAY_MODE_INVALID; // used by IsPlayerEnabled before the first screen
FOREACH_PlayerNumber( p )
m_bSideIsJoined[p] = false; // used by GetNumSidesJoined before the first screen
/* Don't reset yet; let the first screen do it, so we can
* use PREFSMAN and THEME. */
// Reset();