1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +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

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