fix course crash when SongsPerPlay > 3

This commit is contained in:
Glenn Maynard
2007-04-27 00:36:58 +00:00
parent 702b1a03c0
commit e432337815
-2
View File
@@ -582,8 +582,6 @@ int GameState::GetNumStagesForCurrentSongAndStepsOrCourse()
else
return -1;
ASSERT( iNumStagesOfThisSong >= 1 && iNumStagesOfThisSong <= 3 );
iNumStagesOfThisSong = max( iNumStagesOfThisSong, 1 );
return iNumStagesOfThisSong;