summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tunnel.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_tunnel.hpp.sq')
-rw-r--r--src/ai/api/ai_tunnel.hpp.sq4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_tunnel.hpp.sq b/src/ai/api/ai_tunnel.hpp.sq
index c854d2be7..67eaa7f8b 100644
--- a/src/ai/api/ai_tunnel.hpp.sq
+++ b/src/ai/api/ai_tunnel.hpp.sq
@@ -24,11 +24,11 @@ namespace SQConvert {
template <> inline int Return<AITunnel *>(HSQUIRRELVM vm, AITunnel *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AITunnel", res, NULL, DefSQDestructorCallback<AITunnel>); return 1; }
} // namespace SQConvert
-template <> const char *GetClassName<AITunnel>() { return "AITunnel"; }
+template <> const char *GetClassName<AITunnel, ST_AI>() { return "AITunnel"; }
void SQAITunnel_Register(Squirrel *engine)
{
- DefSQClass <AITunnel> SQAITunnel("AITunnel");
+ DefSQClass<AITunnel, ST_AI> SQAITunnel("AITunnel");
SQAITunnel.PreRegister(engine);
SQAITunnel.AddConstructor<void (AITunnel::*)(), 1>(engine, "x");