Ignore isolated footpath tiles in the wide processing.

This commit is contained in:
zaxcav 2016-08-21 11:48:25 +02:00
parent 60acab8676
commit b1da59d25a
1 changed files with 3 additions and 0 deletions

View File

@ -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