barrier not needed anymore

This commit is contained in:
Glenn Maynard
2007-04-25 16:37:05 +00:00
parent acdfa60b0b
commit 1f4889effe
2 changed files with 1 additions and 10 deletions
+1 -6
View File
@@ -310,7 +310,6 @@ void GameState::Reset()
}
m_bTemporaryEventMode = false;
m_bStatsCommitted = false;
LIGHTSMAN->SetLightsMode( LIGHTSMODE_ATTRACT );
@@ -630,10 +629,8 @@ void GameState::CancelStage()
void GameState::CommitStageStats()
{
/* Don't commit stats twice. */
if( m_bStatsCommitted || m_bDemonstrationOrJukebox )
if( m_bDemonstrationOrJukebox )
return;
m_bStatsCommitted = true;
STATSMAN->CommitStatsToProfiles( &STATSMAN->m_CurStageStats );
@@ -655,8 +652,6 @@ void GameState::CommitStageStats()
* song. Might be called more than once. */
void GameState::FinishStage()
{
m_bStatsCommitted = false;
// Increment the stage counter.
ASSERT( m_iNumStagesOfThisSong >= 1 && m_iNumStagesOfThisSong <= 3 );
const int iOldStageIndex = m_iCurrentStageIndex;
-4
View File
@@ -209,10 +209,6 @@ public:
void ResetStageStatistics(); // Call this when it's time to play a new stage.
// True if CommitStageStats() has been called and FinishStage() hasn't.
bool m_bStatsCommitted;
//
// Options stuff
//