summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industrytype.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_industrytype.hpp.sq')
-rw-r--r--src/ai/api/ai_industrytype.hpp.sq3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/api/ai_industrytype.hpp.sq b/src/ai/api/ai_industrytype.hpp.sq
index 1b352356b..bd43cb87c 100644
--- a/src/ai/api/ai_industrytype.hpp.sq
+++ b/src/ai/api/ai_industrytype.hpp.sq
@@ -20,7 +20,8 @@ namespace SQConvert {
template <> int Return<AIIndustryType *>(HSQUIRRELVM vm, AIIndustryType *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIIndustryType", res, NULL, DefSQDestructorCallback<AIIndustryType>); return 1; }
}; // namespace SQConvert
-void SQAIIndustryType_Register(Squirrel *engine) {
+void SQAIIndustryType_Register(Squirrel *engine)
+{
DefSQClass <AIIndustryType> SQAIIndustryType("AIIndustryType");
SQAIIndustryType.PreRegister(engine);
SQAIIndustryType.AddConstructor<void (AIIndustryType::*)(), 1>(engine, "x");