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:
auria
2009-04-25 19:50:41 +00:00
parent b3bebcb1a2
commit ecc9cbaa30

View File

@@ -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;