diff options
Diffstat (limited to 'src/ai/api/ai_basestation.hpp.sq')
-rw-r--r-- | src/ai/api/ai_basestation.hpp.sq | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/api/ai_basestation.hpp.sq b/src/ai/api/ai_basestation.hpp.sq index 93cedfe4c..5d82d0cd2 100644 --- a/src/ai/api/ai_basestation.hpp.sq +++ b/src/ai/api/ai_basestation.hpp.sq @@ -24,7 +24,8 @@ namespace SQConvert { template <> int Return<AIBaseStation *>(HSQUIRRELVM vm, AIBaseStation *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIBaseStation", res, NULL, DefSQDestructorCallback<AIBaseStation>); return 1; } }; // namespace SQConvert -void SQAIBaseStation_Register(Squirrel *engine) { +void SQAIBaseStation_Register(Squirrel *engine) +{ DefSQClass <AIBaseStation> SQAIBaseStation("AIBaseStation"); SQAIBaseStation.PreRegister(engine); SQAIBaseStation.AddConstructor<void (AIBaseStation::*)(), 1>(engine, "x"); |