mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Replace many GetType() calls with GetTypeN()
This commit is contained in:
committed by
GitHub
parent
0879f96f96
commit
2d1af0ec42
@@ -1254,7 +1254,7 @@ static int32_t cc_remove_park_fences(InteractiveConsole& console, [[maybe_unused
|
||||
tile_element_iterator_begin(&it);
|
||||
do
|
||||
{
|
||||
if (it.element->GetType() == TILE_ELEMENT_TYPE_SURFACE)
|
||||
if (it.element->GetTypeN() == TileElementTypeN::Surface)
|
||||
{
|
||||
// Remove all park fence flags
|
||||
it.element->AsSurface()->SetParkFences(0);
|
||||
|
||||
Reference in New Issue
Block a user