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