summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_map.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_map.hpp.sq')
-rw-r--r--src/ai/api/ai_map.hpp.sq2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_map.hpp.sq b/src/ai/api/ai_map.hpp.sq
index 24e96470a..0c4c0dfcb 100644
--- a/src/ai/api/ai_map.hpp.sq
+++ b/src/ai/api/ai_map.hpp.sq
@@ -20,6 +20,8 @@ namespace SQConvert {
template <> 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"; }
+
void SQAIMap_Register(Squirrel *engine)
{
DefSQClass <AIMap> SQAIMap("AIMap");