mirror of https://github.com/OpenTTD/OpenTTD
(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.
parent
a39bed9ae6
commit
4e3b95067b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue