summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_gamesettings.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_gamesettings.hpp.sq')
-rw-r--r--src/ai/api/ai_gamesettings.hpp.sq2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_gamesettings.hpp.sq b/src/ai/api/ai_gamesettings.hpp.sq
index 158f205f6..299ba84bb 100644
--- a/src/ai/api/ai_gamesettings.hpp.sq
+++ b/src/ai/api/ai_gamesettings.hpp.sq
@@ -20,6 +20,8 @@ namespace SQConvert {
template <> 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"; }
+
void SQAIGameSettings_Register(Squirrel *engine)
{
DefSQClass <AIGameSettings> SQAIGameSettings("AIGameSettings");