1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Remove manual CoordsXY conversion on FixLandOwnershipTilesWithOwnership

This commit is contained in:
Tulio Leao
2024-01-21 08:21:00 -03:00
parent fe69dbb2ea
commit 337fbf88ed

View File

@@ -2211,7 +2211,7 @@ void FixLandOwnershipTilesWithOwnership(std::vector<TileCoordsXY> tiles, uint8_t
continue;
surfaceElement->SetOwnership(ownership);
Park::UpdateFencesAroundTile({ (*tile).x * 32, (*tile).y * 32 });
Park::UpdateFencesAroundTile(tile.ToCoordsXY());
}
}
}