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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user