diff options
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h index 1f74df9b0..85bb74dac 100644 --- a/src/window.h +++ b/src/window.h @@ -10,6 +10,7 @@ #include "order.h" #include "rail.h" #include "airport.h" +#include "vehicle.h" struct WindowEvent; @@ -323,7 +324,7 @@ struct tooltips_d { assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); struct buildvehicle_d { - byte vehicle_type; + VehicleType vehicle_type; union { RailTypeByte railtype; AirportFTAClass::Flags flags; @@ -352,7 +353,7 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(replaceveh_d)); struct depot_d { VehicleID sel; - byte type; + VehicleType type; bool generate_list; uint16 engine_list_length; uint16 wagon_list_length; |