diff options
Diffstat (limited to 'depot_gui.c')
-rw-r--r-- | depot_gui.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/depot_gui.c b/depot_gui.c index 665f27808..f4a91dc32 100644 --- a/depot_gui.c +++ b/depot_gui.c @@ -680,7 +680,9 @@ static void DepotWndProc(Window *w, WindowEvent *e) 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_Aircraft: ShowBuildAircraftWindow(w->window_number); break; + case VEH_Aircraft: + ShowBuildVehicleWindow(w->window_number, WP(w, depot_d).type); + break; default: NOT_REACHED(); } break; |