Port surface elements to new structure

This commit is contained in:
Michael Steenbeek authored and Gymnasiast committed 2018-09-16 21:34:51 +02:00
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));