From cb1c78887b6fff06979de1a79b48cdbb04882db8 Mon Sep 17 00:00:00 2001 From: andy5995 Date: Fri, 4 May 2018 10:09:09 -0500 Subject: [PATCH] connected_game.cpp:comment line disabling controls Commenting out this line has fixed the problem but I don't know if there'll be any side effects yet. --- source/glest_game/menu/menu_state_connected_game.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 6d35720d5..e6ecc1581 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -4545,11 +4545,11 @@ namespace Glest } if (displayedGamesettings.getFactionControl (i) == ctNetwork && displayedGamesettings.getNetworkPlayerNameByPlayerIndex (i) != - GameConstants::NETWORK_SLOT_UNCONNECTED_SLOTNAME - && displayedGamesettings.getNetworkPlayerNameByPlayerIndex (i) - != GameConstants::NETWORK_SLOT_CLOSED_SLOTNAME) + GameConstants::NETWORK_SLOT_UNCONNECTED_SLOTNAME && + displayedGamesettings.getNetworkPlayerNameByPlayerIndex (i) != + GameConstants::NETWORK_SLOT_CLOSED_SLOTNAME) { - listBoxControls[i].setEditable (false); + // listBoxControls[i].setEditable (false); if (clientInterface->getPlayerIndex () != (int) i) { hasOtherPlayer = true;