mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Fix: clicking an unsuitable piece of land in footpath drag mode will place a piece anyway
Specifically, path will be placed on the last tile that was suitable.
This commit is contained in:
@@ -1193,6 +1193,7 @@ namespace OpenRCT2::Ui::Windows
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
_provisionalFootpath.tiles.clear();
|
||||||
|
|
||||||
auto mapPos = FootpathGetPlacePositionFromScreenPosition(screenCoords);
|
auto mapPos = FootpathGetPlacePositionFromScreenPosition(screenCoords);
|
||||||
if (!mapPos)
|
if (!mapPos)
|
||||||
|
|||||||
Reference in New Issue
Block a user