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

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-01-12 14:26:15 +01:00
1 parent f05aeb1fcd
commit c5297dfcdd
1 file changed
+1 -1
+1 -1
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;