From 9d44aaa8a87c172471ad5f8e1ef0f7c085e73b10 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sun, 17 Apr 2016 22:44:58 +0100 Subject: [PATCH] fix broken path additions import --- src/rct1/S4Importer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rct1/S4Importer.cpp b/src/rct1/S4Importer.cpp index eb83286839..aa700301f7 100644 --- a/src/rct1/S4Importer.cpp +++ b/src/rct1/S4Importer.cpp @@ -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