X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcontrol%2Fjoystickkeyboardcontroller.cpp;h=53a252d1b22f3dc5570292a78c21bf8b7212af23;hb=9ca6ad8086995cde21a4ae247dac53de336c15ec;hp=6511a91b0d5d1dbc751ec66501ef3ce4373f2348;hpb=2a4700915cd533f49c7105dd86b6f2271cdea220;p=supertux.git diff --git a/src/control/joystickkeyboardcontroller.cpp b/src/control/joystickkeyboardcontroller.cpp index 6511a91b0..53a252d1b 100644 --- a/src/control/joystickkeyboardcontroller.cpp +++ b/src/control/joystickkeyboardcontroller.cpp @@ -490,7 +490,7 @@ JoystickKeyboardController::process_key_event(const SDL_Event& event) if (Console::instance->hasFocus()) { // if console is open: send key there process_console_key_event(event); - } else if (MenuManager2::current()) { + } else if (MenuManager::current()) { // if menu mode: send key there process_menu_key_event(event); } else if(key_mapping == keymap.end()) {