From c5c177a82c805b66a7a05c4adbac0d4a96219370 Mon Sep 17 00:00:00 2001 From: titison Date: Tue, 13 Jan 2015 22:22:56 +0100 Subject: [PATCH] shared Team Units and Resources set the checkBoxes to non-editable when scenarioCheckBox is enabled --- source/glest_game/menu/menu_state_custom_game.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index 6a37ae43..db41e186 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -4866,6 +4866,8 @@ void MenuStateCustomGame::SetupUIForScenarios() { } listBoxFogOfWar.setEditable(false); checkBoxAllowObservers.setEditable(false); + checkBoxAllowTeamUnitSharing.setEditable(false); + checkBoxAllowTeamResourceSharing.setEditable(false); //listBoxPathFinderType.setEditable(false); checkBoxEnableSwitchTeamMode.setEditable(false); listBoxAISwitchTeamAcceptPercent.setEditable(false); @@ -4886,6 +4888,8 @@ void MenuStateCustomGame::SetupUIForScenarios() { } listBoxFogOfWar.setEditable(true); checkBoxAllowObservers.setEditable(true); + checkBoxAllowTeamUnitSharing.setEditable(false); + checkBoxAllowTeamResourceSharing.setEditable(false); //listBoxPathFinderType.setEditable(true); checkBoxEnableSwitchTeamMode.setEditable(true); listBoxAISwitchTeamAcceptPercent.setEditable(true);