diff options
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index d0fa558b0..8aea0298c 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -657,7 +657,7 @@ static void ResizeDefaultWindowSizeForRoadVehicles() _block_sizes[VEH_ROAD][1] = GetVehicleListHeight(VEH_ROAD); } -static void ResizeDefaultWindowSize(byte type) +static void ResizeDefaultWindowSize(VehicleType type) { EngineID engine; uint max_width = 0; @@ -697,7 +697,7 @@ void InitDepotWindowBlockSizes() ResizeDefaultWindowSize(VEH_AIRCRAFT); } -static void CreateDepotListWindow(Window *w, byte type) +static void CreateDepotListWindow(Window *w, VehicleType type) { WP(w, depot_d).type = type; _backup_orders_tile = 0; @@ -975,7 +975,7 @@ static void DepotWndProc(Window *w, WindowEvent *e) * @param tile The tile where the depot/hangar is located * @param type The type of vehicles in the depot */ -void ShowDepotWindow(TileIndex tile, byte type) +void ShowDepotWindow(TileIndex tile, VehicleType type) { Window *w; |