diff options
author | tron <tron@openttd.org> | 2006-04-10 20:38:59 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-04-10 20:38:59 +0000 |
commit | f4a8818dbfd894cc8f601fddd12bf44c3ba4fc13 (patch) | |
tree | 260b650403d7fa2f913216f7766ef458141656e6 /rail.h | |
parent | 8166a531792c2e9cd7f789618879658941f17010 (diff) | |
download | openttd-f4a8818dbfd894cc8f601fddd12bf44c3ba4fc13.tar.xz |
(svn r4348) Move IsLevelCrossing() from rail.h to road_map.h
Diffstat (limited to 'rail.h')
-rw-r--r-- | rail.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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. |