From 8d8996c0eea3117dce4268e4b20266e60794d324 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 2 Sep 2011 00:20:10 +0000 Subject: [PATCH] bugfix for index value used when switching maps for player in invalid index --- source/glest_game/menu/menu_state_connected_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index de370469..a314ab97 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -1833,7 +1833,7 @@ void MenuStateConnectedGame::update() { if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) { continue; } - else if(clientInterface->getPlayerIndex() != i) { + else if(clientInterface->getPlayerIndex() != slot) { continue; } }