diff --git a/src/world/footpath.c b/src/world/footpath.c index 367f019e7b..8c7230b34a 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -1751,6 +1751,9 @@ void footpath_update_path_wide_flags(int x, int y) if (footpath_element_is_sloped(mapElement)) continue; + if ((mapElement->properties.path.edges & 0xF) == 0) + continue; + uint8 height = mapElement->base_height; // pathList is a list of elements, set by sub_6A8ACF adjacent to x,y