summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_town.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-14 21:13:15 +0000
committeryexo <yexo@openttd.org>2009-02-14 21:13:15 +0000
commit8ceb92e6998cdcf0b7821a9c18ec8d216b1a06fa (patch)
tree3d84eb7197d928828f5787362c78b7f570dc0fa9 /src/ai/api/ai_town.cpp
parentcea470e687a0ce6807d344346540b390ea5cc8f8 (diff)
downloadopenttd-8ceb92e6998cdcf0b7821a9c18ec8d216b1a06fa.tar.xz
(svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID.
Diffstat (limited to 'src/ai/api/ai_town.cpp')
-rw-r--r--src/ai/api/ai_town.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ai/api/ai_town.cpp b/src/ai/api/ai_town.cpp
index 117c35f39..f7584c979 100644
--- a/src/ai/api/ai_town.cpp
+++ b/src/ai/api/ai_town.cpp
@@ -14,11 +14,6 @@
#include "../../station_base.h"
#include "table/strings.h"
-/* static */ TownID AITown::GetMaxTownID()
-{
- return ::GetMaxTownIndex();
-}
-
/* static */ int32 AITown::GetTownCount()
{
return ::GetNumTowns();