diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index 950a2937c6..a2de7fd2ef 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -129,10 +129,12 @@ struct TileCoordsXYZ int32_t x = 0, y = 0, z = 0; }; +typedef uint8_t Direction; + struct CoordsXYZD { int32_t x, y, z; - uint8_t direction; + Direction direction; bool isNull() const { @@ -143,7 +145,7 @@ struct CoordsXYZD struct TileCoordsXYZD { int32_t x, y, z; - uint8_t direction; + Direction direction; bool isNull() const {