From a9b607f2593101314670c5bf49beea7d57b8cee1 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 10 Apr 2006 20:38:59 +0000 Subject: (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h --- rail.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'rail.h') 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. -- cgit v1.2.3-54-g00ecf