mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Map size refactors from NSF (#15112)
* Support large map sizes * Fix top spin painting * Fix crooked house * Increase bb size * Decrease limit back * Clang format * Remove asserts and apply review comments * Fix rebase mistake Co-authored-by: Ted John <ted@brambles.org>
This commit is contained in:
@@ -72,8 +72,8 @@ GameActions::Result::Ptr ClearAction::QueryExecute(bool executing) const
|
||||
|
||||
auto x0 = std::max(_range.GetLeft(), 32);
|
||||
auto y0 = std::max(_range.GetTop(), 32);
|
||||
auto x1 = std::min(_range.GetRight(), static_cast<int32_t>(gMapSizeMaxXY));
|
||||
auto y1 = std::min(_range.GetBottom(), static_cast<int32_t>(gMapSizeMaxXY));
|
||||
auto x1 = std::min(_range.GetRight(), GetMapSizeMaxXY());
|
||||
auto y1 = std::min(_range.GetBottom(), GetMapSizeMaxXY());
|
||||
|
||||
for (int32_t y = y0; y <= y1; y += COORDS_XY_STEP)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user