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