From 9ef1b725e845d3b90c8d6b70e28d4e464d6ac245 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 16 Mar 2007 22:14:10 +0000 Subject: [PATCH] only reset for the player that pressed the button --- stepmania/src/ScreenSelectMusic.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index 2d724a6b1b..cc81c667f1 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -513,11 +513,8 @@ void ScreenSelectMusic::Input( const InputEventPlus &input ) // code at the same if L & R aren't released at the exact same time. if( input.type == IET_RELEASE ) { - FOREACH_HumanPlayer( p ) - { - INPUTMAPPER->ResetKeyRepeat( m_GameButtonPreviousSong, p ); - INPUTMAPPER->ResetKeyRepeat( m_GameButtonNextSong, p ); - } + INPUTMAPPER->ResetKeyRepeat( m_GameButtonPreviousSong, input.pn ); + INPUTMAPPER->ResetKeyRepeat( m_GameButtonNextSong, input.pn ); } } }