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, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_map.hpp.sq b/src/ai/api/ai_map.hpp.sq
index a49c274e7..24e96470a 100644
--- a/src/ai/api/ai_map.hpp.sq
+++ b/src/ai/api/ai_map.hpp.sq
@@ -18,7 +18,7 @@ namespace SQConvert {
template <> const AIMap *GetParam(ForceType<const AIMap *>, HSQUIRRELVM vm, int index, SQAutoFreePointers *ptr) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIMap *)instance; }
template <> const AIMap &GetParam(ForceType<const AIMap &>, HSQUIRRELVM vm, int index, SQAutoFreePointers *ptr) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIMap *)instance; }
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
+} // namespace SQConvert
void SQAIMap_Register(Squirrel *engine)
{