(svn r23366) -Codechange: move most of the Dummy code to script/, unifying it
This commit is contained in:
@@ -229,6 +229,12 @@ void AIInstance::Died()
|
||||
}
|
||||
}
|
||||
|
||||
void AIInstance::LoadDummyScript()
|
||||
{
|
||||
extern void Script_CreateDummy(HSQUIRRELVM vm, StringID string, const char *type);
|
||||
Script_CreateDummy(this->engine->GetVM(), STR_ERROR_AI_NO_AI_FOUND, "AI");
|
||||
}
|
||||
|
||||
/**
|
||||
* DoCommand callback function for all commands executed by AIs.
|
||||
* @param result The result of the command.
|
||||
|
Reference in New Issue
Block a user