1
0
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:
Gymnasiast
2018-09-16 21:53:12 +02:00
parent 0235137010
commit d1b576b4a5
2 changed files with 8 additions and 8 deletions

View File

@@ -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));