mirror of https://github.com/OpenTTD/OpenTTD
Codefix: VEH_INVALID is not INVALID_VEHICLE
parent
d22fd78b1c
commit
ff8c748bf5
|
@ -42,7 +42,7 @@ struct DisasterVehicle final : public SpecializedVehicle<DisasterVehicle, VEH_DI
|
||||||
|
|
||||||
/** For use by saveload. */
|
/** For use by saveload. */
|
||||||
DisasterVehicle() : SpecializedVehicleBase() {}
|
DisasterVehicle() : SpecializedVehicleBase() {}
|
||||||
DisasterVehicle(int x, int y, Direction direction, DisasterSubType subtype, VehicleID big_ufo_destroyer_target = VEH_INVALID);
|
DisasterVehicle(int x, int y, Direction direction, DisasterSubType subtype, VehicleID big_ufo_destroyer_target = INVALID_VEHICLE);
|
||||||
/** We want to 'destruct' the right class. */
|
/** We want to 'destruct' the right class. */
|
||||||
virtual ~DisasterVehicle() = default;
|
virtual ~DisasterVehicle() = default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue