summaryrefslogtreecommitdiff
path: root/rail_map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-31 06:46:52 +0000
committertron <tron@openttd.org>2006-08-31 06:46:52 +0000
commitd0a0786ef1d2071dc24bde9cd71bebdfecbd58d9 (patch)
tree0fe6c863b019a738faf2d2ed1078f2d084e24242 /rail_map.h
parente2f8ef4f725b991e6f082e7f746024951ad48a14 (diff)
downloadopenttd-d0a0786ef1d2071dc24bde9cd71bebdfecbd58d9.tar.xz
(svn r6251) Replace 2 bool variables by a simple switch
Diffstat (limited to 'rail_map.h')
-rw-r--r--rail_map.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/rail_map.h b/rail_map.h
index d4f0a0386..4d609fc37 100644
--- a/rail_map.h
+++ b/rail_map.h
@@ -311,11 +311,6 @@ static inline RailGroundType GetRailGroundType(TileIndex t)
return (RailGroundType)GB(_m[t].m2, 0, 4);
}
-static inline bool IsBarrenRailGround(TileIndex t)
-{
- return GetRailGroundType(t) == RAIL_GROUND_BARREN;
-}
-
static inline bool IsSnowRailGround(TileIndex t)
{
return GetRailGroundType(t) == RAIL_GROUND_ICE_DESERT;