and some small cleanup on gamestate

This commit is contained in:
AJ Kelly
2010-04-30 12:38:32 -05:00
parent b769b53fd2
commit 8408d15345
+2 -2
View File
@@ -1914,11 +1914,11 @@ void GameState::VisitAttractScreen( const RString sScreenName )
bool GameState::DifficultiesLocked() const bool GameState::DifficultiesLocked() const
{ {
if( m_PlayMode == PLAY_MODE_RAVE ) if( m_PlayMode == PLAY_MODE_RAVE )
return true; return true;
if( IsCourseMode() ) if( IsCourseMode() )
return PREFSMAN->m_bLockCourseDifficulties; return PREFSMAN->m_bLockCourseDifficulties;
if( GetCurrentStyle()->m_bLockDifficulties ) if( GetCurrentStyle()->m_bLockDifficulties )
return true; return true;
return false; return false;
} }