simplify
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user