Codechange: Use a dedicated variable for disaster vehicle action state. (#10798)

This commit is contained in:
Michael Lutz
2023-05-12 21:41:36 +02:00
committed by GitHub
parent 1a93618bd1
commit 72c7536325
6 changed files with 44 additions and 37 deletions

View File

@@ -38,6 +38,7 @@ struct DisasterVehicle FINAL : public SpecializedVehicle<DisasterVehicle, VEH_DI
SpriteID image_override; ///< Override for the default disaster vehicle sprite.
VehicleID big_ufo_destroyer_target; ///< The big UFO that this destroyer is supposed to bomb.
byte flags; ///< Flags about the state of the vehicle, @see AirVehicleFlags
uint16_t state; ///< Action stage of the disaster vehicle.
/** For use by saveload. */
DisasterVehicle() : SpecializedVehicleBase() {}