summaryrefslogtreecommitdiff
path: root/rail.h
diff options
context:
space:
mode:
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.