Fixes bug #11559, see revision 1179 in the 0.3 version.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
coz 2007-07-15 19:42:34 +00:00
parent 27030c59bb
commit 4e57f0236b

View File

@ -115,7 +115,14 @@ void BaseGUI::inputKeyboard(int key, int pressed)
break;
case SDLK_ESCAPE:
if (menu_manager->getMenuStackSize() > 1)
{
//We don't need to handle the race gui pause with the keyboard
//(but we have to with the joystick & mouse) because it has it's
//own keyboard handling function.
menu_manager->popMenu();
}
break;
default: