diff --git a/source/glest_game/global/core_data.cpp b/source/glest_game/global/core_data.cpp index 112a6495..b9e2b3e1 100644 --- a/source/glest_game/global/core_data.cpp +++ b/source/glest_game/global/core_data.cpp @@ -1065,6 +1065,22 @@ bool CoreData::loadGameSettingsFromFile(std::string fileName, GameSettings *game gameSettings->setAllowObservers(properties.getBool("AllowObservers","false")); gameSettings->setFlagTypes1(properties.getInt("FlagTypes1","0")); + + uint32 valueFlags1 = gameSettings->getFlagTypes1(); + if(Config::getInstance().getBool("EnableNetworkGameSynchChecks","false") == true) { + printf("*WARNING* - EnableNetworkGameSynchChecks is enabled\n"); + + valueFlags1 |= ft1_network_synch_checks; + gameSettings->setFlagTypes1(valueFlags1); + + } + else { + valueFlags1 &= ~ft1_network_synch_checks; + gameSettings->setFlagTypes1(valueFlags1); + + } + + gameSettings->setEnableObserverModeAtEndGame(properties.getBool("EnableObserverModeAtEndGame")); gameSettings->setAiAcceptSwitchTeamPercentChance(properties.getInt("AiAcceptSwitchTeamPercentChance","30")); gameSettings->setFallbackCpuMultiplier(properties.getInt("FallbackCpuMultiplier","1")); diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index 451e026a..be2c93a4 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -3183,6 +3183,8 @@ void MenuStateCustomGame::loadGameSettings(GameSettings *gameSettings,bool force } if(Config::getInstance().getBool("EnableNetworkGameSynchChecks","false") == true) { + printf("*WARNING* - EnableNetworkGameSynchChecks is enabled\n"); + valueFlags1 |= ft1_network_synch_checks; gameSettings->setFlagTypes1(valueFlags1);