summaryrefslogtreecommitdiff
path: root/rail.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-10 20:38:59 +0000
committertron <tron@openttd.org>2006-04-10 20:38:59 +0000
commita9b607f2593101314670c5bf49beea7d57b8cee1 (patch)
tree260b650403d7fa2f913216f7766ef458141656e6 /rail.h
parentf555554cf83b2b3a8c80d9c9d7b039fb473f7d3c (diff)
downloadopenttd-a9b607f2593101314670c5bf49beea7d57b8cee1.tar.xz
(svn r4348) Move IsLevelCrossing() from rail.h to road_map.h
Diffstat (limited to 'rail.h')
-rw-r--r--rail.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/rail.h b/rail.h
index 12dbe4f61..f8357ed35 100644
--- a/rail.h
+++ b/rail.h
@@ -428,13 +428,6 @@ static inline SignalState GetSignalState(TileIndex tile, Trackdir trackdir)
*/
RailType GetTileRailType(TileIndex tile, Trackdir trackdir);
-/**
- * Returns whether the given tile is a level crossing.
- */
-static inline bool IsLevelCrossing(TileIndex tile)
-{
- return (_m[tile].m5 & 0xF0) == 0x10;
-}
/**
* Gets the transport type of the given track on the given crossing tile.