diff options
Diffstat (limited to 'src/ai/api/ai_subsidylist.hpp.sq')
-rw-r--r-- | src/ai/api/ai_subsidylist.hpp.sq | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_subsidylist.hpp.sq b/src/ai/api/ai_subsidylist.hpp.sq index c85289806..7ccc3ce60 100644 --- a/src/ai/api/ai_subsidylist.hpp.sq +++ b/src/ai/api/ai_subsidylist.hpp.sq @@ -20,11 +20,11 @@ namespace SQConvert { template <> inline int Return<AISubsidyList *>(HSQUIRRELVM vm, AISubsidyList *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AISubsidyList", res, NULL, DefSQDestructorCallback<AISubsidyList>); return 1; } } // namespace SQConvert -template <> const char *GetClassName<AISubsidyList>() { return "AISubsidyList"; } +template <> const char *GetClassName<AISubsidyList, ST_AI>() { return "AISubsidyList"; } void SQAISubsidyList_Register(Squirrel *engine) { - DefSQClass <AISubsidyList> SQAISubsidyList("AISubsidyList"); + DefSQClass<AISubsidyList, ST_AI> SQAISubsidyList("AISubsidyList"); SQAISubsidyList.PreRegister(engine, "AIList"); SQAISubsidyList.AddConstructor<void (AISubsidyList::*)(), 1>(engine, "x"); |