mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-27 07:29:41 +01:00
(svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file.
This commit is contained in:
parent
b520d73285
commit
3633fd9a06
@ -162,6 +162,7 @@ AIScanner::AIScanner() :
|
||||
|
||||
/* Create the dummy AI */
|
||||
this->engine->ResetCrashed();
|
||||
strcpy(this->main_script, "%_dummy");
|
||||
extern void AI_CreateAIInfoDummy(HSQUIRRELVM vm);
|
||||
AI_CreateAIInfoDummy(this->engine->GetVM());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user