diff --git a/src/world/footpath.c b/src/world/footpath.c index 131b97a017..fa8252c448 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -1740,9 +1740,9 @@ void footpath_update_path_wide_flags(int x, int y) footpath_clear_wide(x, y); y -= 0x20; - if (!(x & 0xE0)) + if (!(x & 0xFFE0)) return; - if (!(y & 0xE0)) + if (!(y & 0xFFE0)) return; rct_map_element *mapElement = map_get_first_element_at(x / 32, y / 32);