From 0930521e6b593461f9cf79eae6aeebf4f794dc6e Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 3 May 2010 17:40:00 +0000 Subject: [PATCH] Minor cleanup git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5367 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/guiengine/event_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiengine/event_handler.cpp b/src/guiengine/event_handler.cpp index 905413f71..94dc62f7c 100644 --- a/src/guiengine/event_handler.cpp +++ b/src/guiengine/event_handler.cpp @@ -566,7 +566,7 @@ EventPropagation EventHandler::onGUIEvent(const SEvent& event) assert(w->getType() == WTYPE_LIST); const int playerID = input_manager->getPlayerKeyboardID(); - if (input_manager->masterPlayerOnly() && playerID != 0) break; + if (input_manager->masterPlayerOnly() && playerID != PLAYER_ID_GAME_MASTER) break; if (!w->isFocusedForPlayer(playerID)) w->setFocusForPlayer(playerID); break;