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:
parent
992115a9d9
commit
ddf7175ee1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user