Renamed MenuManager to MenuStorage and MenuManager2 to MenuManager
[supertux.git] / src / control / joystickkeyboardcontroller.cpp
index 6511a91..53a252d 100644 (file)
@@ -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()) {