From bbec48aef12299f33deba03951e9463372d6a169 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 18 Jul 2003 07:53:41 +0000 Subject: [PATCH] simplify --- stepmania/src/MusicWheel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index 94993286d5..2496edba99 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -327,8 +327,8 @@ void MusicWheel::GetSongList(vector &arraySongs, SongSortOrder so, CStrin // If we're using unlocks, check it here to prevent from being shown if( PREFSMAN->m_bUseUnlockSystem && so!=SORT_ROULETTE ) { - pSong->m_bIsLocked = GAMESTATE->m_pUnlockingSys->SongIsLocked( pSong ); - if( pSong->m_bIsLocked ) { continue; } + if( GAMESTATE->m_pUnlockingSys->SongIsLocked(pSong) ) + continue; } arraySongs.push_back( pSong ); }