From ddf7175ee11aec3d93c11fad9f440702db326f0a Mon Sep 17 00:00:00 2001 From: hikerstk Date: Sun, 18 Jul 2010 10:58:35 +0000 Subject: [PATCH] Fixed bug 3030981: no more in-game dialog when pressing escape. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5691 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/state_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/states_screens/state_manager.cpp b/src/states_screens/state_manager.cpp index c69fcfdd6..a841049c2 100644 --- a/src/states_screens/state_manager.cpp +++ b/src/states_screens/state_manager.cpp @@ -165,7 +165,7 @@ void StateManager::escapePressed() else if(m_game_mode == GAME) { if(World::getWorld()->getPhase()!=WorldStatus::RESULT_DISPLAY_PHASE) - RacePausedDialog(0.8f, 0.6f); + new RacePausedDialog(0.8f, 0.6f); //resetAndGoToMenu("main.stkgui"); //input_manager->setMode(InputManager::MENU); }