summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_townlist.hpp.sq
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-12 22:25:53 +0000
committerrubidium <rubidium@openttd.org>2009-02-12 22:25:53 +0000
commit0111a10d7ad304e6e6722e849e28fc9c6afe6d16 (patch)
tree3e221a4c240d5e3816d46d5d1e22664047944955 /src/ai/api/ai_townlist.hpp.sq
parent87bc20e7dd9f75e5f3b84dafad720ba9baae9604 (diff)
downloadopenttd-0111a10d7ad304e6e6722e849e28fc9c6afe6d16.tar.xz
(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.
Diffstat (limited to 'src/ai/api/ai_townlist.hpp.sq')
-rw-r--r--src/ai/api/ai_townlist.hpp.sq2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ai/api/ai_townlist.hpp.sq b/src/ai/api/ai_townlist.hpp.sq
index 31be65144..69c6c7431 100644
--- a/src/ai/api/ai_townlist.hpp.sq
+++ b/src/ai/api/ai_townlist.hpp.sq
@@ -17,7 +17,5 @@ void SQAITownList_Register(Squirrel *engine) {
SQAITownList.PreRegister(engine, "AIAbstractList");
SQAITownList.AddConstructor<void (AITownList::*)(), 1>(engine, "x");
- SQAITownList.DefSQStaticMethod(engine, &AITownList::GetClassName, "GetClassName", 1, "x");
-
SQAITownList.PostRegister(engine);
}