branch | noai |
changeset 9635 | 9ee82e091af7 |
parent 9610 | 5cebcd43a1ec |
child 9664 | c5741021bf59 |
--- a/src/ai/api/ai_list.hpp.sq Thu Jul 12 14:55:28 2007 +0000 +++ b/src/ai/api/ai_list.hpp.sq Thu Jul 12 15:04:26 2007 +0000 @@ -11,7 +11,7 @@ void SQAIListRegister(Squirrel *engine) { DefSQClass <AIList> SQAIList("AIList"); SQAIList.PreRegister(engine, "AIAbstractList"); - SQAIList.AddConstructor<void (AIList::*)()>(engine, 1, "x"); + SQAIList.AddConstructor<void (AIList::*)(), 1>(engine, "x"); SQAIList.DefSQStaticMethod(engine, &AIList::GetClassName, "GetClassName", 1, "x");