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