From 73c6158bbe9f50f76c1241a3ab562d29a9159970 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 24 Apr 2007 21:37:20 +0000 Subject: [PATCH] simplify: count each stage as one stage, no special case for long songs --- stepmania/src/GameState.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 0d59415f06..feda35f003 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -669,10 +669,7 @@ void GameState::FinishStage() ASSERT( m_iNumStagesOfThisSong >= 1 && m_iNumStagesOfThisSong <= 3 ); const int iOldStageIndex = m_iCurrentStageIndex; - if( IsCourseMode() ) - m_iCurrentStageIndex += 1; - else - m_iCurrentStageIndex += m_iNumStagesOfThisSong; + ++m_iCurrentStageIndex; FOREACH_EnabledPlayer( p ) m_iPlayerCurrentStageIndexForCurrentCredit[p] += m_iNumStagesOfThisSong;