From 8492d408de7d98f93ca4cf09d69ab256eeda9110 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com> Date: Sun, 21 Dec 2025 12:34:29 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20#25660:=20Ride=20entrances=20are=20someti?= =?UTF-8?q?mes=20visible=20in=20=E2=80=98Highlight=20path=20issues?= =?UTF-8?q?=E2=80=99=20mode=20(#25679)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- distribution/changelog.txt | 1 + src/openrct2/paint/tile_element/Paint.Entrance.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 0b14623a87..597204f61c 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -25,6 +25,7 @@ - Fix: [#25628] Availability of AVX2 and SSE4.1 is not detected correctly. - Fix: [#25642] The selection marker for purchasing land rights is not drawn with the correct colours. - Fix: [#25646] It is possible to remove scenery and paths when setting staff patrol areas and purchasing land. +- Fix: [#25660] After saving a track design with scenery, that ride’s entrances and exits are visible in ‘Highlight path issues’ mode. 0.4.29 (2025-11-22) ------------------------------------------------------------------------ diff --git a/src/openrct2/paint/tile_element/Paint.Entrance.cpp b/src/openrct2/paint/tile_element/Paint.Entrance.cpp index 7095b44aaf..ade9930b58 100644 --- a/src/openrct2/paint/tile_element/Paint.Entrance.cpp +++ b/src/openrct2/paint/tile_element/Paint.Entrance.cpp @@ -118,8 +118,8 @@ static void PaintRideEntranceExit(PaintSession& session, uint8_t direction, int3 PROFILED_FUNCTION(); auto rideIndex = entranceEl.GetRideIndex(); - if ((gTrackDesignSaveMode || (session.ViewFlags & VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES)) - && (rideIndex != gTrackDesignSaveRideIndex)) + if ((session.ViewFlags & VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES) + || (gTrackDesignSaveMode && rideIndex != gTrackDesignSaveRideIndex)) { return; }