mirror of https://github.com/OpenTTD/OpenTTD
(svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file.
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