From b0398a3b4f3f3d0c18da584015450232157e65c6 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 13 Mar 2011 12:30:22 -0500 Subject: [PATCH] sm5svn 2527d15 --- src/MusicWheel.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/MusicWheel.cpp b/src/MusicWheel.cpp index 7dbe9e66f4..5e059b1865 100644 --- a/src/MusicWheel.cpp +++ b/src/MusicWheel.cpp @@ -772,13 +772,18 @@ void MusicWheel::UpdateWheelItemDatas( SortOrder so ) continue; // Check that we have enough stages to play this song, and that it's not disabled. - if( !sc.Matches(WID.m_pSong) ) + if( GAMESTATE->GetNumStagesMultiplierForSong(WID.m_pSong) ) { aiRemove[i] = true; continue; } int iLocked = UNLOCKMAN->SongIsLocked( pSong ); + if( UNLOCKMAN->SongIsLocked(pSong) & LOCKED_DISABLED ) + { + aiRemove[i] = true; + continue; + } // If we're on an extra stage, and this song is selected, ignore #SELECTABLE. if( pSong != GAMESTATE->m_pCurSong || !GAMESTATE->IsAnExtraStage() )