diff options
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/road_cmd.c b/road_cmd.c index 026b5487e..a9b2ef350 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -11,6 +11,7 @@ #include "gfx.h" #include "npf.h" #include "sound.h" +#include "depot.h" /* When true, GetTrackStatus for roads will treat roads under reconstruction * as normal roads instead of impassable. This is used when detecting whether @@ -116,12 +117,6 @@ static bool CheckAllowRemoveRoad(uint tile, uint br, bool *edge_road) return true; } -bool IsRoadDepotTile(TileIndex tile) -{ - return IsTileType(tile, MP_STREET) && - (_map5[tile] & 0xF0) == 0x20; -} - uint GetRoadBitsByTile(TileIndex tile) { uint32 r = GetTileTrackStatus(tile, TRANSPORT_ROAD); |