diff options
author | frosch <frosch@openttd.org> | 2008-01-17 17:35:59 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-01-17 17:35:59 +0000 |
commit | 3ae0c5316c0260eb1037e75b478d2804668594ba (patch) | |
tree | 7d1289e80fd9d4f17ba3f5d7f2900125bd64cc32 /src/vehicle_gui.cpp | |
parent | c7fe6641190c4734c64f4713ad11711c1f340f13 (diff) | |
download | openttd-3ae0c5316c0260eb1037e75b478d2804668594ba.tar.xz |
(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow().
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index f90a06c48..5a94394d1 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1125,7 +1125,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e) switch (e->we.dropdown.index) { case 0: /* Replace window */ - ShowReplaceVehicleWindow(vl->vehicle_type); + ShowReplaceGroupVehicleWindow(DEFAULT_GROUP, vl->vehicle_type); break; case 1: /* Send for servicing */ DoCommandP(0, GB(w->window_number, 16, 16) /* StationID or OrderID (depending on VLW) */, |