made navigation with gamepad smoother
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -347,7 +347,7 @@ void InputManager::input(Input::InputType type, int id0, int id1, int id2,
|
||||
else
|
||||
{
|
||||
// reset timer when released
|
||||
if( abs(value) == 0 )
|
||||
if( abs(value) == 0 && type == Input::IT_KEYBOARD)
|
||||
{
|
||||
m_timer_in_use = false;
|
||||
m_timer = 0;
|
||||
|
||||
Reference in New Issue
Block a user