shared Team Units and Resources

set the checkBoxes to non-editable when scenarioCheckBox is enabled
This commit is contained in:
titison 2015-01-13 22:22:56 +01:00
parent b3449e59be
commit c5c177a82c
1 changed files with 4 additions and 0 deletions

View File

@ -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);