Blindly attempt to fix a bug I can't reproduce
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
e04a9b65a9
commit
63aea86164
@ -148,7 +148,8 @@ void GamePadDevice::resetAxisDirection(const int axis,
|
||||
Binding& bind = m_configuration->getBinding(n);
|
||||
if(bind.getType() == Input::IT_STICKMOTION &&
|
||||
bind.getId() == axis &&
|
||||
bind.getDirection()== direction)
|
||||
bind.getDirection()== direction &&
|
||||
pk->getController() != NULL)
|
||||
{
|
||||
((PlayerController*)(pk->getController()))
|
||||
->action((PlayerAction)n, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user