Fix #25660: Ride entrances are sometimes visible in ‘Highlight path issues’ mode (#25679)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2025-12-21 12:34:29 +01:00
1 parent 06874982c9
commit 8492d408de
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -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)
------------------------------------------------------------------------
@@ -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;
}