Improved 'space' interrupting type-a-name dialog when it's mapped to fire (in some cases it still doesn't work, didn't find why)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
729ccbc79b
commit
c3419d8ddb
@ -282,7 +282,7 @@ void EventHandler::processAction(const int action, const unsigned int value, Inp
|
||||
break;
|
||||
|
||||
case PA_FIRE:
|
||||
if (pressedDown)
|
||||
if (pressedDown && !isWithinATextBox)
|
||||
{
|
||||
Widget* w = GUIEngine::getFocusForPlayer(playerID);
|
||||
if (w == NULL) break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user