mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 10:45:16 +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:
@@ -683,7 +683,7 @@ void SetCheatAction::SetStaffSpeed(uint8_t value) const
|
||||
void SetCheatAction::OwnAllLand() const
|
||||
{
|
||||
const int32_t min = 32;
|
||||
const int32_t max = gMapSizeUnits - 32;
|
||||
const int32_t max = GetMapSizeUnits() - 32;
|
||||
|
||||
for (CoordsXY coords = { min, min }; coords.y <= max; coords.y += COORDS_XY_STEP)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user