Skip to content

Commit

Permalink
Fix #8236: Paths of track designs are built incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Nov 8, 2018
1 parent 223ae74 commit 94ce579
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/openrct2/world/Footpath.cpp
Expand Up @@ -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))
Expand Down Expand Up @@ -2712,4 +2713,4 @@ uint8_t PathElement::GetEdgesAndCorners() const
void PathElement::SetEdgesAndCorners(uint8_t newEdgesAndCorners)
{
edges = newEdgesAndCorners;
}
}

0 comments on commit 94ce579

Please sign in to comment.