From b897611a6b4e0a276f32f7b3c790ca4a9894375a Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 14 Apr 2011 16:04:42 +0000 Subject: [PATCH] - bugfix for mixed up username when changing map and human player's slot is changed. --- source/glest_game/menu/menu_state_custom_game.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index ba9344ea..9c4df28f 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -2730,21 +2730,23 @@ void MenuStateCustomGame::reloadFactions(bool keepExistingSelectedItem) { } } -void MenuStateCustomGame::updateControlers(){ +void MenuStateCustomGame::updateControlers() { try { bool humanPlayer= false; - for(int i= 0; i