summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_town.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_town.hpp')
-rw-r--r--src/ai/api/ai_town.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ai/api/ai_town.hpp b/src/ai/api/ai_town.hpp
index 02b806b4c..c132beea3 100644
--- a/src/ai/api/ai_town.hpp
+++ b/src/ai/api/ai_town.hpp
@@ -97,13 +97,6 @@ public:
};
/**
- * Gets the maximum town index; there are no valid towns with a higher index.
- * @return The maximum town index.
- * @post Return value is always non-negative.
- */
- static TownID GetMaxTownID();
-
- /**
* Gets the number of towns. This is different than GetMaxTownID()
* because of the way OpenTTD works internally.
* @return The number of towns.