This commit is contained in:
Glenn Maynard
2003-07-18 07:53:41 +00:00
parent 66e156e840
commit bbec48aef1
+2 -2
View File
@@ -327,8 +327,8 @@ void MusicWheel::GetSongList(vector<Song*> &arraySongs, SongSortOrder so, CStrin
// If we're using unlocks, check it here to prevent from being shown // If we're using unlocks, check it here to prevent from being shown
if( PREFSMAN->m_bUseUnlockSystem && so!=SORT_ROULETTE ) if( PREFSMAN->m_bUseUnlockSystem && so!=SORT_ROULETTE )
{ {
pSong->m_bIsLocked = GAMESTATE->m_pUnlockingSys->SongIsLocked( pSong ); if( GAMESTATE->m_pUnlockingSys->SongIsLocked(pSong) )
if( pSong->m_bIsLocked ) { continue; } continue;
} }
arraySongs.push_back( pSong ); arraySongs.push_back( pSong );
} }