1
0
Fork 0

(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.

release/1.3
rubidium 2012-03-17 11:14:25 +00:00
parent a39bed9ae6
commit 4e3b95067b
1 changed files with 1 additions and 0 deletions

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