diff --git a/src/world/footpath.c b/src/world/footpath.c index a7cb85f7a0..5523cb401b 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -1427,6 +1427,11 @@ bool footpath_element_is_queue(rct_map_element *mapElement) return mapElement->type & 1; } +bool footpath_element_is_wide(rct_map_element *mapElement) +{ + return mapElement->type & 2; +} + /** * * rct2: 0x006A76E9 diff --git a/src/world/footpath.h b/src/world/footpath.h index fbd00b2d0c..450c8a38fc 100644 --- a/src/world/footpath.h +++ b/src/world/footpath.h @@ -70,6 +70,7 @@ int footpath_is_connected_to_map_edge(int x, int y, int z, int direction, int fl bool footpath_element_is_sloped(rct_map_element *mapElement); int footpath_element_get_slope_direction(rct_map_element *mapElement); bool footpath_element_is_queue(rct_map_element *mapElement); +bool footpath_element_is_wide(rct_map_element *mapElement); void footpath_remove_edges_at(int x, int y, rct_map_element *mapElement); #endif