1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

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

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

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 rides entrances and exits are visible in Highlight path issues mode.
0.4.29 (2025-11-22)
------------------------------------------------------------------------

View File

@@ -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;
}