forked from mirror/OpenTTD
Codechange: do not declare functions in blocks
This commit is contained in:
@@ -80,7 +80,6 @@ void AIInstance::Died()
|
||||
void AIInstance::LoadDummyScript()
|
||||
{
|
||||
ScriptAllocatorScope alloc_scope(this->engine);
|
||||
extern void Script_CreateDummy(HSQUIRRELVM vm, StringID string, const char *type);
|
||||
Script_CreateDummy(this->engine->GetVM(), STR_ERROR_AI_NO_AI_FOUND, "AI");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user