summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/town.h b/src/town.h
index 059040f2f..d653fa59e 100644
--- a/src/town.h
+++ b/src/town.h
@@ -295,16 +295,6 @@ static inline HouseSpec *GetHouseSpecs(HouseID house_id)
TileIndexDiff GetHouseNorthPart(HouseID &house);
-static inline TownID GetMaxTownIndex()
-{
- /* TODO - This isn't the real content of the function, but
- * with the new pool-system this will be replaced with one that
- * _really_ returns the highest index. Now it just returns
- * the next safe value we are sure about everything is below.
- */
- return Town::GetPoolSize() - 1;
-}
-
static inline uint GetNumTowns()
{
extern uint _total_towns;