summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industrylist.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-13 20:52:39 +0000
committerrubidium <rubidium@openttd.org>2011-11-13 20:52:39 +0000
commit3f7eb71b17da7840678c68953729aff156cc500b (patch)
tree5d71bc9aae9a9bc39ae15c1794f85d7e14987628 /src/ai/api/ai_industrylist.hpp
parentb7a655bf4cafc68e14cade593e8b1aca7f04f7dd (diff)
downloadopenttd-3f7eb71b17da7840678c68953729aff156cc500b.tar.xz
(svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically
Diffstat (limited to 'src/ai/api/ai_industrylist.hpp')
-rw-r--r--src/ai/api/ai_industrylist.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ai/api/ai_industrylist.hpp b/src/ai/api/ai_industrylist.hpp
index b7dd7bc9f..255873b82 100644
--- a/src/ai/api/ai_industrylist.hpp
+++ b/src/ai/api/ai_industrylist.hpp
@@ -20,8 +20,6 @@
*/
class AIIndustryList : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIIndustryList"; }
AIIndustryList();
};
@@ -31,9 +29,6 @@ public:
*/
class AIIndustryList_CargoAccepting : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIIndustryList_CargoAccepting"; }
-
/**
* @param cargo_id The cargo this industry should accept.
*/
@@ -47,9 +42,6 @@ public:
*/
class AIIndustryList_CargoProducing : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIIndustryList_CargoProducing"; }
-
/**
* @param cargo_id The cargo this industry should produce.
*/