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
commit26b153b1dfdffb24fbeb2e5bc91154a2e8d3f78e (patch)
tree0fe6c863b019a738faf2d2ed1078f2d084e24242 /rail_map.h
parent7922c9ff8496db84a24a62665437389fdaade34a (diff)
downloadopenttd-26b153b1dfdffb24fbeb2e5bc91154a2e8d3f78e.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;