From bff7c33aa909d00428f81e6b5f89b236343fc13b Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 29 Nov 2011 22:23:33 +0000 Subject: (svn r23350) -Add: support different ScriptTypes in the helper functions for GetClassName (Rubidium) --- src/ai/api/ai_depotlist.hpp.sq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ai/api/ai_depotlist.hpp.sq') diff --git a/src/ai/api/ai_depotlist.hpp.sq b/src/ai/api/ai_depotlist.hpp.sq index 8f3ed40f3..a61eab12a 100644 --- a/src/ai/api/ai_depotlist.hpp.sq +++ b/src/ai/api/ai_depotlist.hpp.sq @@ -20,11 +20,11 @@ namespace SQConvert { template <> inline int Return(HSQUIRRELVM vm, AIDepotList *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIDepotList", res, NULL, DefSQDestructorCallback); return 1; } } // namespace SQConvert -template <> const char *GetClassName() { return "AIDepotList"; } +template <> const char *GetClassName() { return "AIDepotList"; } void SQAIDepotList_Register(Squirrel *engine) { - DefSQClass SQAIDepotList("AIDepotList"); + DefSQClass SQAIDepotList("AIDepotList"); SQAIDepotList.PreRegister(engine, "AIList"); SQAIDepotList.AddConstructor(engine, "xi"); -- cgit v1.2.3-54-g00ecf