From 96097b34a57feb7547c789b352e9b650fb2a9fea Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Mon, 22 Apr 2019 08:11:28 +0100 Subject: Codechange: Remove Direction*Byte types --- src/aircraft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aircraft.h') diff --git a/src/aircraft.h b/src/aircraft.h index f4fce09be..3abb86b4f 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -79,7 +79,7 @@ struct Aircraft FINAL : public SpecializedVehicle { byte previous_pos; ///< Previous desired position of the aircraft. StationID targetairport; ///< Airport to go to next. byte state; ///< State of the airport. @see AirportMovementStates - DirectionByte last_direction; + Direction last_direction; byte number_consecutive_turns; ///< Protection to prevent the aircraft of making a lot of turns in order to reach a specific point. byte turn_counter; ///< Ticks between each turn to prevent > 45 degree turns. byte flags; ///< Aircraft flags. @see AirVehicleFlags -- cgit v1.2.3-54-g00ecf