diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index afe3c126d4..d454ea7b6a 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -105,12 +105,12 @@ struct CoordsXY const CoordsXY operator+(const CoordsXY& rhs) const { - return { rhs.x + x, rhs.y + y }; + return { x + rhs.x, y + rhs.y }; } const CoordsXY operator-(const CoordsXY& rhs) const { - return { rhs.x - x, rhs.y - y }; + return { x - rhs.x, y - rhs.y }; } CoordsXY Rotate(int32_t direction) const