diff options
author | belugas <belugas@openttd.org> | 2008-08-20 01:29:05 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-20 01:29:05 +0000 |
commit | d096431936f2a41ac84258073e04cc626f45ab9a (patch) | |
tree | 814ce35d6f66a7d5595be82243f5c4ba1bcdef9f /src/rail_cmd.cpp | |
parent | 1145a11b9dcb5c1d1314c681db4a29f36c27e819 (diff) | |
download | openttd-d096431936f2a41ac84258073e04cc626f45ab9a.tar.xz |
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 26b24da8b..2b5227c03 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2307,8 +2307,8 @@ static TrackStatus GetTileTrackStatus_Track(TileIndex tile, TransportType mode, static void ClickTile_Track(TileIndex tile) { switch (GetRailTileType(tile)) { - case RAIL_TILE_DEPOT: ShowDepotWindow(tile, VEH_TRAIN); break; - case RAIL_TILE_WAYPOINT: ShowRenameWaypointWindow(GetWaypointByTile(tile)); break; + case RAIL_TILE_DEPOT: ShowDepotWindow(tile, VEH_TRAIN); break; + case RAIL_TILE_WAYPOINT: ShowWaypointWindow(GetWaypointByTile(tile)); break; default: break; } } |