From b1da59d25a04de587c059892ab96b3ec6e40043f Mon Sep 17 00:00:00 2001 From: zaxcav Date: Sun, 21 Aug 2016 11:48:25 +0200 Subject: [PATCH] Ignore isolated footpath tiles in the wide processing. --- src/world/footpath.c | 3 +++ 1 file changed, 3 insertions(+) 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