summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-17 11:18:34 +0000
committerrubidium <rubidium@openttd.org>2009-05-17 11:18:34 +0000
commit88201ccd5cd1cc6a5def1ecc9e42291399cd3c37 (patch)
tree70959c2ccb22d7bee88ffc1f117dfb2877f58fbe /src/town.h
parente7dedf4e1b2569a3f595f045a61d3d4bc144f3de (diff)
downloadopenttd-88201ccd5cd1cc6a5def1ecc9e42291399cd3c37.tar.xz
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
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;