From c329db132c856820677208d23fa49368d7e57389 Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Fri, 8 Aug 2003 20:37:17 +0000 Subject: [PATCH] fix possible event mode bug (hopefully) --- stepmania/src/MusicWheel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index d5205042b9..080a43ceac 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -169,8 +169,11 @@ MusicWheel::MusicWheel() // HACK: invalidate currently selected song in the case that it // cannot be played due to lack of stages remaining + // checking for event mode shouldn't be necessary here + // but someone mentioned it does it sometimes. if( GAMESTATE->m_pCurSong != NULL && SongManager::GetNumStagesForSong( GAMESTATE->m_pCurSong ) + GAMESTATE->m_iCurrentStageIndex > PREFSMAN->m_iNumArcadeStages + && !PREFSMAN->m_bEventMode && !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2() ) GAMESTATE->m_pCurSong = NULL;