1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Remove if statements originally used to overlay grid of non-wide paths.

This commit is contained in:
zaxcav
2016-08-21 11:45:12 +02:00
parent 7711ab811e
commit 60acab8676

View File

@@ -1740,11 +1740,6 @@ void footpath_update_path_wide_flags(int x, int y)
footpath_clear_wide(x, y); footpath_clear_wide(x, y);
y -= 0x20; y -= 0x20;
if (!(x & 0xFFE0))
return;
if (!(y & 0xFFE0))
return;
rct_map_element *mapElement = map_get_first_element_at(x / 32, y / 32); rct_map_element *mapElement = map_get_first_element_at(x / 32, y / 32);
do { do {
if (map_element_get_type(mapElement) != MAP_ELEMENT_TYPE_PATH) if (map_element_get_type(mapElement) != MAP_ELEMENT_TYPE_PATH)