1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Code cleanup, remove ignore_invisible_flag.

Known issues:
- Some flat-rides have transparency issues
This commit is contained in:
Kane
2021-10-23 20:53:13 +11:00
committed by Ted John
parent ffb5affee2
commit 20cd8465f5
6 changed files with 47 additions and 46 deletions

View File

@@ -2195,8 +2195,7 @@ void PaintTrack(paint_session& session, Direction direction, int32_t height, con
return;
}
if ((session->ViewFlags & VIEWPORT_FLAG_SEETHROUGH_RIDES && session->ViewFlags & VIEWPORT_FLAG_INVISIBLE_RIDES)
&& ride->ignore_invisible_flag == false)
if (session->ViewFlags & VIEWPORT_FLAG_SEETHROUGH_RIDES && session->ViewFlags & VIEWPORT_FLAG_INVISIBLE_RIDES)
return;
if ((!gTrackDesignSaveMode || rideIndex == gTrackDesignSaveRideIndex)