only reset for the player that pressed the button

This commit is contained in:
Glenn Maynard
2007-03-16 22:14:10 +00:00
parent 960467871d
commit 9ef1b725e8
+2 -5
View File
@@ -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 );
}
}
}