summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_waypoint.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_waypoint.hpp.sq')
-rw-r--r--src/ai/api/ai_waypoint.hpp.sq2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_waypoint.hpp.sq b/src/ai/api/ai_waypoint.hpp.sq
index 516b5f31e..a3413b13e 100644
--- a/src/ai/api/ai_waypoint.hpp.sq
+++ b/src/ai/api/ai_waypoint.hpp.sq
@@ -26,6 +26,8 @@ namespace SQConvert {
template <> int Return<AIWaypoint *>(HSQUIRRELVM vm, AIWaypoint *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIWaypoint", res, NULL, DefSQDestructorCallback<AIWaypoint>); return 1; }
} // namespace SQConvert
+template <> const char *GetClassName<AIWaypoint>() { return "AIWaypoint"; }
+
void SQAIWaypoint_Register(Squirrel *engine)
{
DefSQClass <AIWaypoint> SQAIWaypoint("AIWaypoint");