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