rail_cmd.c
changeset 4638 8abe4f10b94b
parent 4559 c853d2440065
child 4725 f7284b86833f
--- a/rail_cmd.c	Mon Sep 25 17:11:47 2006 +0000
+++ b/rail_cmd.c	Tue Sep 26 16:47:51 2006 +0000
@@ -40,7 +40,6 @@
 	19, 16
 };
 
-void ShowTrainDepotWindow(TileIndex tile);
 
 /*         4
  *     ---------
@@ -1920,7 +1919,7 @@
 static void ClickTile_Track(TileIndex tile)
 {
 	if (IsTileDepotType(tile, TRANSPORT_RAIL)) {
-		ShowTrainDepotWindow(tile);
+		ShowDepotWindow(tile, VEH_Train);
 	} else if (IsRailWaypoint(tile)) {
 		ShowRenameWaypointWindow(GetWaypointByTile(tile));
 	}