(svn r24033) -Fix: reset "is random" status of temporary variable during saveload as it's not always written to when loading an AI which means it'd be taking the is random setting of another AI.

This commit is contained in:
rubidium
2012-03-17 11:14:25 +00:00
parent 7bb0df9ea0
commit 0b23378d78

View File

@@ -67,6 +67,7 @@ static void Load_AIPL()
while ((index = (CompanyID)SlIterateArray()) != (CompanyID)-1) {
if (index >= MAX_COMPANIES) SlErrorCorrupt("Too many AI configs");
_ai_saveload_is_random = 0;
_ai_saveload_version = -1;
SlObject(NULL, _ai_company);