summaryrefslogtreecommitdiff
path: root/tunnel_map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-07 07:51:05 +0000
committertron <tron@openttd.org>2006-03-07 07:51:05 +0000
commit313754011d04ad4913bf4028b78d75ceb359e9b3 (patch)
tree99b7d8d8952db8e2911e906960659f1307c048e5 /tunnel_map.h
parenta172b194c2473baaf5b5ea340ea4fe00b7835236 (diff)
downloadopenttd-313754011d04ad4913bf4028b78d75ceb359e9b3.tar.xz
(svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay)
Diffstat (limited to 'tunnel_map.h')
-rw-r--r--tunnel_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnel_map.h b/tunnel_map.h
index aa30e12c3..047f631f9 100644
--- a/tunnel_map.h
+++ b/tunnel_map.h
@@ -22,6 +22,7 @@ static inline TransportType GetTunnelTransportType(TileIndex t)
TileIndex GetOtherTunnelEnd(TileIndex);
+bool IsTunnelInWay(TileIndex, uint z);
static inline void MakeRoadTunnel(TileIndex t, Owner o, DiagDirection d)