1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Use CoordsXY on footpath_remove_edges_at()

This commit is contained in:
Tulio Leao
2020-01-04 08:33:19 -03:00
parent 2b1101d320
commit 7cf03d3e41
10 changed files with 22 additions and 14 deletions

View File

@@ -1192,7 +1192,7 @@ static bool TrackDesignPlaceSceneryElement(
}
footpath_queue_chain_reset();
footpath_remove_edges_at(mapCoord.x, mapCoord.y, reinterpret_cast<TileElement*>(pathElement));
footpath_remove_edges_at(mapCoord, reinterpret_cast<TileElement*>(pathElement));
flags = GAME_COMMAND_FLAG_APPLY;
if (_trackDesignPlaceOperation == PTD_OPERATION_PLACE_TRACK_PREVIEW)