mirror of https://github.com/OpenRCT2/OpenRCT2.git
This commit is contained in:
parent
3c63402e1d
commit
61ef7b1c9e
|
@ -459,6 +459,8 @@ static void cheat_own_all_land()
|
|||
for (coords.x = min; coords.x <= max; coords.x += 32)
|
||||
{
|
||||
TileElement* surfaceElement = map_get_surface_element_at(coords);
|
||||
if (!surfaceElement)
|
||||
continue;
|
||||
|
||||
// Ignore already owned tiles.
|
||||
if (surfaceElement->AsSurface()->GetOwnership() & OWNERSHIP_OWNED)
|
||||
|
|
Loading…
Reference in New Issue