(svn r4348) Move IsLevelCrossing() from rail.h to road_map.h

This commit is contained in:
tron
2006-04-10 20:38:59 +00:00
parent f555554cf8
commit a9b607f259
2 changed files with 5 additions and 7 deletions

View File

@@ -40,6 +40,11 @@ static inline RoadType GetRoadType(TileIndex t)
return GB(_m[t].m5, 4, 4);
}
static inline bool IsLevelCrossing(TileIndex t)
{
return GetRoadType(t) == ROAD_CROSSING;
}
static inline RoadBits GetRoadBits(TileIndex t)
{