mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
Port surface elements to new structure
This commit is contained in:
committed by
Gymnasiast
parent
d186a04e4f
commit
74ccf010e6
@@ -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->properties.surface.ownership &= 0xF0;
|
||||
it.element->AsSurface()->SetOwnership(it.element->AsSurface()->GetOwnership());
|
||||
}
|
||||
} while (tile_element_iterator_next(&it));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user