partial revert (not sure if this is worth maintaining, but it didn't need to

be removed for the last commit)
This commit is contained in:
Glenn Maynard
2007-04-24 01:41:34 +00:00
parent a02b94cb9a
commit 079e0f5397
+5 -1
View File
@@ -910,7 +910,11 @@ bool GameState::IsFinalStage() const
if( IsCourseMode() )
return true;
return GetLargestCurrentStageIndexForAnyHumanPlayer() == PREFSMAN->m_iSongsPerPlay - 1;
/* This changes dynamically on ScreenSelectMusic as the wheel turns. */
int iPredictedStageForCurSong = GetNumStagesForCurrentSongAndStepsOrCourse();
if( iPredictedStageForCurSong == -1 )
iPredictedStageForCurSong = 1;
return GetLargestCurrentStageIndexForAnyHumanPlayer() + iPredictedStageForCurSong == PREFSMAN->m_iSongsPerPlay;
}
bool GameState::IsAnExtraStage() const