1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Remove final snakes from map and world (#18304)

This commit is contained in:
Duncan
2022-10-12 13:14:45 +01:00
committed by GitHub
parent 7dd8989e70
commit 406b73d904
89 changed files with 432 additions and 447 deletions

View File

@@ -1397,7 +1397,7 @@ static int32_t cc_remove_floating_objects(InteractiveConsole& console, const arg
static int32_t cc_remove_park_fences(InteractiveConsole& console, [[maybe_unused]] const arguments_t& argv)
{
tile_element_iterator it;
tile_element_iterator_begin(&it);
TileElementIteratorBegin(&it);
do
{
if (it.element->GetType() == TileElementType::Surface)
@@ -1405,7 +1405,7 @@ static int32_t cc_remove_park_fences(InteractiveConsole& console, [[maybe_unused
// Remove all park fence flags
it.element->AsSurface()->SetParkFences(0);
}
} while (tile_element_iterator_next(&it));
} while (TileElementIteratorNext(&it));
gfx_invalidate_screen();