Potential fix for #706
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
65ad0b182c
commit
844cd1692c
@ -581,7 +581,8 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
((Controller*)pk->getController())->action(action, abs(value));
|
Controller* controller = pk->getController();
|
||||||
|
if (controller != NULL) controller->action(action, abs(value));
|
||||||
}
|
}
|
||||||
// ... when in menus
|
// ... when in menus
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user