summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_controller.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_controller.hpp.sq')
-rw-r--r--src/ai/api/ai_controller.hpp.sq4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_controller.hpp.sq b/src/ai/api/ai_controller.hpp.sq
index 26b627c7b..f66c23481 100644
--- a/src/ai/api/ai_controller.hpp.sq
+++ b/src/ai/api/ai_controller.hpp.sq
@@ -9,11 +9,11 @@
#include "ai_controller.hpp"
-template <> const char *GetClassName<AIController>() { return "AIController"; }
+template <> const char *GetClassName<AIController, ST_AI>() { return "AIController"; }
void SQAIController_Register(Squirrel *engine)
{
- DefSQClass <AIController> SQAIController("AIController");
+ DefSQClass<AIController, ST_AI> SQAIController("AIController");
SQAIController.PreRegister(engine);
SQAIController.DefSQStaticMethod(engine, &AIController::GetTick, "GetTick", 1, ".");