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