road_cmd.c
changeset 1313 bba6afb8a995
parent 1281 1573d0e4e7a1
child 1327 f98ba72197f5
--- a/road_cmd.c	Sun Feb 06 09:52:06 2005 +0000
+++ b/road_cmd.c	Sun Feb 06 10:18:47 2005 +0000
@@ -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 @@
 	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);