diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-22 08:11:28 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-04-29 17:40:22 +0100 |
commit | 96097b34a57feb7547c789b352e9b650fb2a9fea (patch) | |
tree | ba2a5b1917994b3956dfd626874fb6f61c5bceb0 /src/aircraft.h | |
parent | 9f3928658bb3f8aaf21b17e0144cb09722474fff (diff) | |
download | openttd-96097b34a57feb7547c789b352e9b650fb2a9fea.tar.xz |
Codechange: Remove Direction*Byte types
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Aircraft, VEH_AIRCRAFT> { 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 |