Minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
3c4a67045f
commit
0930521e6b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user