1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

Codefix: VEH_INVALID is not INVALID_VEHICLE

This commit is contained in:
Rubidium
2025-01-19 16:09:14 +01:00
committed by rubidium42
parent d22fd78b1c
commit ff8c748bf5

View File

@@ -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;