diff --git a/src/MusicWheel.cpp b/src/MusicWheel.cpp index c0e8d08e0a..13836fefe7 100644 --- a/src/MusicWheel.cpp +++ b/src/MusicWheel.cpp @@ -180,34 +180,6 @@ void MusicWheel::BeginScreen() // rebuild the WheelItems that appear on screen RebuildWheelItems(); - - /* Invalidate current Song if it can't be played - * because there are not enough stages remaining. */ - if(GAMESTATE->m_pCurSong != NULL && - GameState::GetNumStagesMultiplierForSong(GAMESTATE->m_pCurSong) > - GAMESTATE->GetSmallestNumStagesLeftForAnyHumanPlayer()) - { - GAMESTATE->m_pCurSong.Set(NULL); - } - - /* Invalidate current Steps if it can't be played - * because there are not enough stages remaining. */ - FOREACH_ENUM(PlayerNumber, p) - { - if(GAMESTATE->m_pCurSteps[p] != NULL) - { - vector vpPossibleSteps; - if(GAMESTATE->m_pCurSong != NULL) - { - SongUtil::GetPlayableSteps(GAMESTATE->m_pCurSong, vpPossibleSteps); - } - bool bStepsIsPossible = find(vpPossibleSteps.begin(), vpPossibleSteps.end(), GAMESTATE->m_pCurSteps[p]) == vpPossibleSteps.end(); - if(!bStepsIsPossible) - { - GAMESTATE->m_pCurSteps[p].Set(NULL); - } - } - } } MusicWheel::~MusicWheel()