diff --git a/stepmania/src/ScreenMapControllers.cpp b/stepmania/src/ScreenMapControllers.cpp index 32a7ed1ee9..0b0410c54a 100644 --- a/stepmania/src/ScreenMapControllers.cpp +++ b/stepmania/src/ScreenMapControllers.cpp @@ -196,6 +196,8 @@ void ScreenMapControllers::Input( const InputEventPlus &input ) { if( input.type != IET_FIRST_PRESS && input.type != IET_SLOW_REPEAT && input.type != IET_FAST_REPEAT ) return; // ignore + if( IsTransitioning() ) + return; // ignore LOG->Trace( "ScreenMapControllers::Input(): device: %d, button: %d", input.DeviceI.device, input.DeviceI.button ); @@ -343,12 +345,8 @@ void ScreenMapControllers::Input( const InputEventPlus &input ) m_soundChange.Play(); break; case KEY_ESC: /* Quit the screen. */ - if( !IsTransitioning() ) - { - SCREENMAN->PlayStartSound(); - - StartTransitioningScreen( SM_GoToNextScreen ); - } + SCREENMAN->PlayStartSound(); + StartTransitioningScreen( SM_GoToNextScreen ); break; case KEY_ENTER: /* Change the selection. */ case KEY_KP_ENTER: diff --git a/stepmania/src/ScreenMapControllers.h b/stepmania/src/ScreenMapControllers.h index 7d48678624..e36c36ad88 100644 --- a/stepmania/src/ScreenMapControllers.h +++ b/stepmania/src/ScreenMapControllers.h @@ -48,7 +48,7 @@ private: // owned by m_Line Actor *m_pExit; - ActorFrame m_Line[MAX_GAME_BUTTONS+1]; + ActorFrame m_Line[MAX_GAME_BUTTONS+1]; // XXX ActorScroller m_LineScroller; RageSound m_soundChange;