From 60acab8676b5de7be16e0e95aa9a4f9256e25fa0 Mon Sep 17 00:00:00 2001 From: zaxcav Date: Sun, 21 Aug 2016 11:45:12 +0200 Subject: [PATCH] Remove if statements originally used to overlay grid of non-wide paths. --- src/world/footpath.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/world/footpath.c b/src/world/footpath.c index fa8252c448..367f019e7b 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -1740,11 +1740,6 @@ void footpath_update_path_wide_flags(int x, int y) footpath_clear_wide(x, y); y -= 0x20; - if (!(x & 0xFFE0)) - return; - if (!(y & 0xFFE0)) - return; - rct_map_element *mapElement = map_get_first_element_at(x / 32, y / 32); do { if (map_element_get_type(mapElement) != MAP_ELEMENT_TYPE_PATH)