From fec2d3628b9e17d7299d7ff77b627164f026ce41 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 20 Oct 2006 08:46:39 +0000 Subject: [PATCH] only accept start/back on IET_REPEAT so that Start can be tested without exiting the screen. --- stepmania/src/ScreenTestInput.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenTestInput.cpp b/stepmania/src/ScreenTestInput.cpp index b434d3ea9b..89e7bfb0d3 100644 --- a/stepmania/src/ScreenTestInput.cpp +++ b/stepmania/src/ScreenTestInput.cpp @@ -104,9 +104,6 @@ void ScreenTestInput::Input( const InputEventPlus &input ) MESSAGEMAN->Broadcast( sMessage ); } - if( input.type != IET_FIRST_PRESS && input.type != IET_REPEAT ) - return; // ignore - Screen::Input( input ); // default handler } @@ -117,6 +114,9 @@ void ScreenTestInput::MenuStart( const InputEventPlus &input ) void ScreenTestInput::MenuBack( const InputEventPlus &input ) { + if( input.type != IET_REPEAT ) + return; // ignore + if( !IsTransitioning() ) { SCREENMAN->PlayStartSound();