summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-22 08:11:28 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit96097b34a57feb7547c789b352e9b650fb2a9fea (patch)
treeba2a5b1917994b3956dfd626874fb6f61c5bceb0 /src/airport.h
parent9f3928658bb3f8aaf21b17e0144cb09722474fff (diff)
downloadopenttd-96097b34a57feb7547c789b352e9b650fb2a9fea.tar.xz
Codechange: Remove Direction*Byte types
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/airport.h b/src/airport.h
index 31c68ef00..9e9eee870 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -130,10 +130,10 @@ static const uint64
/** A single location on an airport where aircraft can move to. */
struct AirportMovingData {
- int16 x; ///< x-coordinate of the destination.
- int16 y; ///< y-coordinate of the destination.
- uint16 flag; ///< special flags when moving towards the destination.
- DirectionByte direction; ///< Direction to turn the aircraft after reaching the destination.
+ int16 x; ///< x-coordinate of the destination.
+ int16 y; ///< y-coordinate of the destination.
+ uint16 flag; ///< special flags when moving towards the destination.
+ Direction direction; ///< Direction to turn the aircraft after reaching the destination.
};
AirportMovingData RotateAirportMovingData(const AirportMovingData *orig, Direction rotation, uint num_tiles_x, uint num_tiles_y);