diff options
author | bjarni <bjarni@openttd.org> | 2007-01-21 22:50:43 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2007-01-21 22:50:43 +0000 |
commit | 884af9d8564ae2eab0fc7467f891bb4e01566e46 (patch) | |
tree | 5cdfb0db845b68db261d6dbe98833134fc24e429 /src/depot_gui.cpp | |
parent | 612658b5061c13b78a3ffc2b29c6a3c1f20bb7da (diff) | |
download | openttd-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.cpp | 2 |
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; |