1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Fix footpath connection bug

This commit is contained in:
Duncan Frost
2015-07-19 10:00:43 +01:00
parent 79737e4684
commit 9e8b9b10c7

View File

@@ -972,7 +972,7 @@ static void loc_6A6D7E(
}
}
if (z - 2 == mapElement->base_height) {
if (footpath_element_is_sloped(mapElement) && footpath_element_get_slope_direction(mapElement) != (direction ^ 2)) {
if (!footpath_element_is_sloped(mapElement) && footpath_element_get_slope_direction(mapElement) != (direction ^ 2)) {
return;
}
goto loc_6A6F1F;