summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-01-21 22:50:43 +0000
committerbjarni <bjarni@openttd.org>2007-01-21 22:50:43 +0000
commitb60e5c17cdfe0b2000260d3fb19db38867ff5e39 (patch)
tree5cdfb0db845b68db261d6dbe98833134fc24e429 /src/depot_gui.cpp
parent17c71f455752ff9e5d77bcee5022620fe37c657c (diff)
downloadopenttd-b60e5c17cdfe0b2000260d3fb19db38867ff5e39.tar.xz
(svn r8331) -Feature: the train and aircraft build windows are now resizable in horizontal direction as well
-Codechange: merged train and aircraft build window code
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 1bcc9babd..1e21af514 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -736,9 +736,9 @@ static void DepotWndProc(Window *w, WindowEvent *e)
case DEPOT_WIDGET_BUILD: // Build vehicle
ResetObjectToPlace();
switch (WP(w, depot_d).type) {
- case VEH_Train: ShowBuildTrainWindow(w->window_number); break;
case VEH_Road: ShowBuildRoadVehWindow(w->window_number); break;
case VEH_Ship: ShowBuildShipWindow(w->window_number); break;
+ case VEH_Train:
case VEH_Aircraft:
ShowBuildVehicleWindow(w->window_number, WP(w, depot_d).type);
break;