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 +}