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
This commit is contained in:
hikerstk 2010-07-18 10:58:35 +00:00
parent 992115a9d9
commit ddf7175ee1

View File

@ -165,7 +165,7 @@ void StateManager::escapePressed()
else if(m_game_mode == GAME) else if(m_game_mode == GAME)
{ {
if(World::getWorld()->getPhase()!=WorldStatus::RESULT_DISPLAY_PHASE) if(World::getWorld()->getPhase()!=WorldStatus::RESULT_DISPLAY_PHASE)
RacePausedDialog(0.8f, 0.6f); new RacePausedDialog(0.8f, 0.6f);
//resetAndGoToMenu("main.stkgui"); //resetAndGoToMenu("main.stkgui");
//input_manager->setMode(InputManager::MENU); //input_manager->setMode(InputManager::MENU);
} }