Use CoordsXY on footpath_remove_edges_at()

This commit is contained in:
Tulio Leao committed 2020-01-11 11:13:04 -03:00
1 parent 2b1101d320
commit 7cf03d3e41
10 files changed
+22 -14

No files matched your search

+1 -1
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)