mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Use CoordsXY on footpath_remove_edges_at()
This commit is contained in:
@@ -964,7 +964,7 @@ void map_remove_all_rides()
|
||||
[[fallthrough]];
|
||||
case TILE_ELEMENT_TYPE_TRACK:
|
||||
footpath_queue_chain_reset();
|
||||
footpath_remove_edges_at(it.x * 32, it.y * 32, it.element);
|
||||
footpath_remove_edges_at(TileCoordsXY{ it.x, it.y }.ToCoordsXY(), it.element);
|
||||
tile_element_remove(it.element);
|
||||
tile_element_iterator_restart_for_tile(&it);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user