road_cmd.c
changeset 4638 8abe4f10b94b
parent 4388 e5a166837162
child 4725 f7284b86833f
--- a/road_cmd.c	Mon Sep 25 17:11:47 2006 +0000
+++ b/road_cmd.c	Tue Sep 26 16:47:51 2006 +0000
@@ -977,11 +977,9 @@
 	}
 }
 
-void ShowRoadDepotWindow(TileIndex tile);
-
 static void ClickTile_Road(TileIndex tile)
 {
-	if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) ShowRoadDepotWindow(tile);
+	if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) ShowDepotWindow(tile, VEH_Road);
 }
 
 static const byte _road_trackbits[16] = {