diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index c50601316..0b2029dee 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -389,7 +389,7 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID, int btnID, */ EventPropagation InputManager::input(const SEvent& event) { - if(event.EventType == EET_JOYSTICK_INPUT_EVENT) + if (event.EventType == EET_JOYSTICK_INPUT_EVENT) { // Axes - FIXME, instead of checking all of them, ask the bindings which ones to poll for (int axis_id=0; axis_idplayerAssignMode() != NO_ASSIGN && !GUIEngine::isWithinATextBox() && (!GUIEngine::ModalDialog::isADialogActive() && StateManager::get()->getGameState() == GUIEngine::GAME)) {