(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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user