From b32b4f16608b819d2431191840a128fe38f5a847 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 22 Jun 2012 01:57:59 +0000 Subject: [PATCH] - bugfix to allow remote admin user to remain as admin when slot is networkunassigned --- source/glest_game/menu/menu_state_custom_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index 3a8eeb9e0..264cefea5 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -3201,7 +3201,7 @@ void MenuStateCustomGame::loadGameSettings(GameSettings *gameSettings,bool force for(int i= 0; i < mapInfo.players; ++i) { if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__); - if(listBoxControls[i].getSelectedItemIndex() == ctNetwork) { + if(listBoxControls[i].getSelectedItemIndex() == ctNetwork || listBoxControls[i].getSelectedItemIndex() == ctNetworkUnassigned) { if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__); if( serverInterface->getSlot(i) != NULL && serverInterface->getSlot(i)->isConnected()) {