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
commit884af9d8564ae2eab0fc7467f891bb4e01566e46 (patch)
tree5cdfb0db845b68db261d6dbe98833134fc24e429 /src/depot_gui.cpp
parent612658b5061c13b78a3ffc2b29c6a3c1f20bb7da (diff)
downloadopenttd-884af9d8564ae2eab0fc7467f891bb4e01566e46.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;