diff options
Diffstat (limited to 'src/saveload/ai_sl.cpp')
-rw-r--r-- | src/saveload/ai_sl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/ai_sl.cpp b/src/saveload/ai_sl.cpp index a69f3da60..2a0e5d4ad 100644 --- a/src/saveload/ai_sl.cpp +++ b/src/saveload/ai_sl.cpp @@ -75,13 +75,13 @@ static void Load_AIPL() AIConfig *config = AIConfig::GetConfig(index); if (StrEmpty(_ai_saveload_name)) { /* A random AI. */ - config->ChangeAI(NULL, -1, true); + config->ChangeAI(NULL, -1, false, true); } else { - config->ChangeAI(_ai_saveload_name, _ai_saveload_version, _ai_saveload_is_random); + config->ChangeAI(_ai_saveload_name, _ai_saveload_version, false, _ai_saveload_is_random); if (!config->HasAI()) { /* No version of the AI available that can load the data. Try to load the * latest version of the AI instead. */ - config->ChangeAI(_ai_saveload_name, -1, _ai_saveload_is_random); + config->ChangeAI(_ai_saveload_name, -1, false, _ai_saveload_is_random); if (!config->HasAI()) { if (strcmp(_ai_saveload_name, "%_dummy") != 0) { DEBUG(ai, 0, "The savegame has an AI by the name '%s', version %d which is no longer available.", _ai_saveload_name, _ai_saveload_version); |