From f60111be681f991064c259e2588d9e3aec07390e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 18 Sep 2005 11:31:49 +0000 Subject: [PATCH] cleanup: if neither pressed, stop. This probably shouldn't happen; it used to happen due to the bSelectIsPressed case. --- stepmania/src/ScreenSelectMusic.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index 3bd2f320e6..b3a4b3b33f 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -791,7 +791,11 @@ void ScreenSelectMusic::Input( const InputEventPlus &input ) bool bNeitherDown = !bLeftIsDown && !bRightIsDown; - if( bBothDown || bNeitherDown ) + if( bNeitherDown ) + { + m_MusicWheel.Move( 0 ); + } + else if( bBothDown ) { m_MusicWheel.Move( 0 ); if( input.type == IET_FIRST_PRESS )