From 94ce57929a111a854a43f2acb63cb69b2ab3b09c Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Thu, 8 Nov 2018 22:13:44 +0100 Subject: [PATCH] Fix #8236: Paths of track designs are built incorrectly --- src/openrct2/world/Footpath.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openrct2/world/Footpath.cpp b/src/openrct2/world/Footpath.cpp index 35e0e4a755..12e1aa6ed4 100644 --- a/src/openrct2/world/Footpath.cpp +++ b/src/openrct2/world/Footpath.cpp @@ -670,6 +670,7 @@ static money32 footpath_place_from_track( pathElement->SetAddition(0); tileElement->AsPath()->SetRideIndex(RIDE_ID_NULL); tileElement->AsPath()->SetAdditionStatus(255); + tileElement->AsPath()->SetEdges(edges); tileElement->AsPath()->SetCorners(0); pathElement->flags &= ~TILE_ELEMENT_FLAG_BROKEN; if (flags & (1 << 6)) @@ -2712,4 +2713,4 @@ uint8_t PathElement::GetEdgesAndCorners() const void PathElement::SetEdgesAndCorners(uint8_t newEdgesAndCorners) { edges = newEdgesAndCorners; -} \ No newline at end of file +}