(svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName.

This commit is contained in:
rubidium
2009-02-12 22:25:53 +00:00
parent 87bc20e7dd
commit 0111a10d7a
46 changed files with 388 additions and 488 deletions

View File

@@ -17,7 +17,5 @@ void SQAIEngineList_Register(Squirrel *engine) {
SQAIEngineList.PreRegister(engine, "AIAbstractList");
SQAIEngineList.AddConstructor<void (AIEngineList::*)(AIVehicle::VehicleType vehicle_type), 2>(engine, "xi");
SQAIEngineList.DefSQStaticMethod(engine, &AIEngineList::GetClassName, "GetClassName", 1, "x");
SQAIEngineList.PostRegister(engine);
}