mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Fix bugs in park fences
This commit is contained in:
@@ -1146,7 +1146,7 @@ static int32_t cc_remove_park_fences(
|
||||
if (it.element->GetType() == TILE_ELEMENT_TYPE_SURFACE)
|
||||
{
|
||||
// Remove all park fence flags
|
||||
it.element->AsSurface()->SetOwnership(it.element->AsSurface()->GetOwnership());
|
||||
it.element->AsSurface()->SetParkFences(0);
|
||||
}
|
||||
} while (tile_element_iterator_next(&it));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user