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