Fix #21832: Ghost Train in Haunted Harbour has missing pieces (#21856)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2024-04-21 00:01:55 +02:00
1 parent 1f761faee0
commit 7fc34ef612
1 file changed
+1 -1
+1 -1
View File
@@ -2309,7 +2309,7 @@ void PaintTrack(PaintSession& session, Direction direction, int32_t height, cons
}
const auto& rtd = GetRideTypeDescriptor(trackElement.GetRideType());
bool isInverted = trackElement.IsInverted() && !rtd.HasFlag(RIDE_TYPE_FLAG_IS_MAZE);
bool isInverted = trackElement.IsInverted() && rtd.HasFlag(RIDE_TYPE_FLAG_HAS_ALTERNATIVE_TRACK_TYPE);
const auto trackDrawerEntry = getTrackDrawerEntry(rtd, isInverted, TrackElementIsCovered(trackType));
if (trackDrawerEntry.Drawer != nullptr)