From f39aa017e810141ceac33444f4c0f833321e1337 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Mon, 20 Oct 2025 20:01:02 +0200 Subject: [PATCH] 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. --- src/openrct2-ui/windows/Footpath.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openrct2-ui/windows/Footpath.cpp b/src/openrct2-ui/windows/Footpath.cpp index 6490d8d419..32fed7dc57 100644 --- a/src/openrct2-ui/windows/Footpath.cpp +++ b/src/openrct2-ui/windows/Footpath.cpp @@ -1193,6 +1193,7 @@ namespace OpenRCT2::Ui::Windows { return; } + _provisionalFootpath.tiles.clear(); auto mapPos = FootpathGetPlacePositionFromScreenPosition(screenCoords); if (!mapPos)