1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix #10550: Hovering the mouse cursor with path on a certain height level works weird (#10552)

This commit is contained in:
Michael Steenbeek
2020-01-12 14:26:15 +01:00
committed by GitHub
parent f05aeb1fcd
commit c5297dfcdd

View File

@@ -769,7 +769,7 @@ static void window_footpath_set_provisional_path_at_point(ScreenCoordsXY screenC
break;
}
}
uint8_t z = tileElement->GetBaseZ();
auto z = tileElement->GetBaseZ();
if (slope & RAISE_FOOTPATH_FLAG)
{
slope &= ~RAISE_FOOTPATH_FLAG;