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