(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:
@@ -17,7 +17,5 @@ void SQAISubsidyList_Register(Squirrel *engine) {
|
||||
SQAISubsidyList.PreRegister(engine, "AIAbstractList");
|
||||
SQAISubsidyList.AddConstructor<void (AISubsidyList::*)(), 1>(engine, "x");
|
||||
|
||||
SQAISubsidyList.DefSQStaticMethod(engine, &AISubsidyList::GetClassName, "GetClassName", 1, "x");
|
||||
|
||||
SQAISubsidyList.PostRegister(engine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user