From 9e8b9b10c7fbca5e34295b66d55e56731d42d20b Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Sun, 19 Jul 2015 10:00:43 +0100 Subject: [PATCH] Fix footpath connection bug --- src/world/footpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/footpath.c b/src/world/footpath.c index 8bcbd4ea52..a4943c1ee6 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -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;