mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix maze drawing (#21729)
This commit is contained in:
parent
a38039f6e4
commit
e190afeb80
|
@ -2309,7 +2309,8 @@ void PaintTrack(PaintSession& session, Direction direction, int32_t height, cons
|
|||
}
|
||||
|
||||
const auto& rtd = GetRideTypeDescriptor(trackElement.GetRideType());
|
||||
const auto trackDrawerEntry = getTrackDrawerEntry(rtd, trackElement.IsInverted(), TrackElementIsCovered(trackType));
|
||||
bool isInverted = trackElement.IsInverted() && !rtd.HasFlag(RIDE_TYPE_FLAG_IS_MAZE);
|
||||
const auto trackDrawerEntry = getTrackDrawerEntry(rtd, isInverted, TrackElementIsCovered(trackType));
|
||||
|
||||
if (trackDrawerEntry.Drawer != nullptr)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue