From 36230aff063a19684a2810e994d6dbd048765774 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 23 Jan 2004 04:56:39 +0000 Subject: [PATCH] Ignore the SortMenu when in course mode --- stepmania/src/ScreenSelectMusic.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index 0c87152129..1a989116a2 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -815,7 +815,12 @@ void ScreenSelectMusic::Input( const DeviceInput& DeviceI, InputEventType type, } if( CodeDetector::EnteredSortMenu(GameI.controller) ) { - if( ( GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage ) || GAMESTATE->IsExtraStage2() ) + /* Ignore the SortMenu when in course mode. However, still check for the code, so + * if people try pressing left+right+start in course mode, we don't pick the selected + * course on them. */ + if( GAMESTATE->IsCourseMode() ) + ; /* nothing */ + else if( ( GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage ) || GAMESTATE->IsExtraStage2() ) m_soundLocked.Play(); else m_MusicWheel.ChangeSort( SORT_SORT_MENU );