This commit is contained in:
Glenn Maynard
2005-02-23 04:46:05 +00:00
parent 4e4b6df7aa
commit 94f87f9b58
2 changed files with 4 additions and 4 deletions
+2
View File
@@ -406,6 +406,8 @@ void GameState::BeginStage()
* have, for some reason, gone from gameplay to evaluation straight back to gameplay.) */
FinishStage();
GAMESTATE->ResetStageStatistics();
m_iNumStagesOfThisSong = GetNumStagesForCurrentSong();
ASSERT( m_iNumStagesOfThisSong != -1 );
}
+2 -4
View File
@@ -146,7 +146,8 @@ void ScreenGameplay::Init()
GAMESTATE->SaveCurrentSettingsToProfile(pn);
}
GAMESTATE->ResetStageStatistics();
/* Called once per stage (single song or single course). */
GAMESTATE->BeginStage();
@@ -192,9 +193,6 @@ void ScreenGameplay::Init()
FOREACH_EnabledPlayer(p)
PROFILEMAN->IncrementCoursePlayCount( GAMESTATE->m_pCurCourse, GAMESTATE->m_pCurTrail[p], p );
/* Called once per stage (single song or single course). */
GAMESTATE->BeginStage();
STATSMAN->m_CurStageStats.playMode = GAMESTATE->m_PlayMode;
STATSMAN->m_CurStageStats.pStyle = GAMESTATE->m_pCurStyle;