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