mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix broken path additions import
This commit is contained in:
parent
c6615b942e
commit
9d44aaa8a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue