mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
fix broken path additions import
This commit is contained in:
@@ -1077,9 +1077,9 @@ void S4Importer::FixPaths()
|
||||
|
||||
// Additions
|
||||
int additions = RCT1PathAdditionConversionTable[footpath_element_get_path_scenery(mapElement)];
|
||||
if (footpath_element_path_scenery_is_ghost(mapElement))
|
||||
if (additions & 0x80)
|
||||
{
|
||||
footpath_scenery_set_is_ghost(mapElement, false);
|
||||
additions &= ~0x80;
|
||||
mapElement->flags |= MAP_ELEMENT_FLAG_BROKEN;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user