forked from rosebudai/OpenRCT2-Web
Port surface elements to new structure
This commit is contained in:
1 parent
d186a04e4f
commit
74ccf010e6
36 files changed
+527
-488
No files matched your search
@@ -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