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