From 48c2dc31bc1d34e365eafa31531eedcc7553c2ff Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Tue, 24 Dec 2019 17:23:09 -0300 Subject: [PATCH] Remove LocationXY usage on openrct2\actions\RideDemolishAction.hpp --- src/openrct2/actions/RideDemolishAction.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/actions/RideDemolishAction.hpp b/src/openrct2/actions/RideDemolishAction.hpp index 0872539d1a..ec0f5f518d 100644 --- a/src/openrct2/actions/RideDemolishAction.hpp +++ b/src/openrct2/actions/RideDemolishAction.hpp @@ -330,7 +330,7 @@ private: continue; } - static constexpr const LocationXY16 DirOffsets[] = { + static constexpr const CoordsXY DirOffsets[] = { { 0, 0 }, { 0, 16 }, { 16, 16 }, @@ -339,7 +339,7 @@ private: for (Direction dir : ALL_DIRECTIONS) { - const LocationXY16& off = DirOffsets[dir]; + const CoordsXY& off = DirOffsets[dir]; money32 removePrice = MazeRemoveTrack(x + off.x, y + off.y, z, dir); if (removePrice != MONEY32_UNDEFINED) refundPrice += removePrice;