Remove LocationXY usage on openrct2\actions\RideDemolishAction.hpp

This commit is contained in:
Tulio Leao committed 2019-12-27 09:52:31 -03:00
1 parent 4f58fd5568
commit 48c2dc31bc
1 file changed
+2 -2
+2 -2
View File
@@ -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;