diff options
Diffstat (limited to 'src/ai/api/ai_log.hpp.sq')
-rw-r--r-- | src/ai/api/ai_log.hpp.sq | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_log.hpp.sq b/src/ai/api/ai_log.hpp.sq index 51d2cddc2..ca635267f 100644 --- a/src/ai/api/ai_log.hpp.sq +++ b/src/ai/api/ai_log.hpp.sq @@ -20,11 +20,11 @@ namespace SQConvert { template <> inline int Return<AILog *>(HSQUIRRELVM vm, AILog *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AILog", res, NULL, DefSQDestructorCallback<AILog>); return 1; } } // namespace SQConvert -template <> const char *GetClassName<AILog>() { return "AILog"; } +template <> const char *GetClassName<AILog, ST_AI>() { return "AILog"; } void SQAILog_Register(Squirrel *engine) { - DefSQClass <AILog> SQAILog("AILog"); + DefSQClass<AILog, ST_AI> SQAILog("AILog"); SQAILog.PreRegister(engine); SQAILog.AddConstructor<void (AILog::*)(), 1>(engine, "x"); |