(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.

This commit is contained in:
frosch
2012-12-05 19:36:04 +00:00
parent e43bf5dabd
commit 812ae4140a
9 changed files with 33 additions and 3 deletions

View File

@@ -2755,6 +2755,11 @@ bool AfterLoadGame()
}
}
if (IsSavegameVersionBefore(178)) {
/* Initialise script settings profile */
_settings_game.script.settings_profile = IsInsideMM(_settings_game.difficulty.diff_level, SP_BEGIN, SP_END) ? _settings_game.difficulty.diff_level : (uint)SP_MEDIUM;
}
/* Road stops is 'only' updating some caches */
AfterLoadRoadStops();
AfterLoadLabelMaps();