branch | noai |
changeset 9610 | 5cebcd43a1ec |
parent 9609 | f0dbf5850145 |
child 9635 | 9ee82e091af7 |
--- a/src/ai/api/ai_list.hpp.sq Wed May 02 12:47:16 2007 +0000 +++ b/src/ai/api/ai_list.hpp.sq Wed May 02 12:56:01 2007 +0000 @@ -11,7 +11,7 @@ void SQAIListRegister(Squirrel *engine) { DefSQClass <AIList> SQAIList("AIList"); SQAIList.PreRegister(engine, "AIAbstractList"); - SQAIList.AddConstructor<void (AIList::*)()>(engine); + SQAIList.AddConstructor<void (AIList::*)()>(engine, 1, "x"); SQAIList.DefSQStaticMethod(engine, &AIList::GetClassName, "GetClassName", 1, "x");