1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 19:56:13 +01:00

Fix River Rapids flat to gentle track piece tunnels (#24825)

This commit is contained in:
mix
2025-07-24 10:52:03 +01:00
committed by GitHub
parent be8636fe4c
commit 386bebe700
2 changed files with 3 additions and 1 deletions

View File

@@ -348,7 +348,8 @@ static void PaintRiverRapidsTrack25DegToFlatB(
DrawSupportForSequenceA<TrackElemType::FlatToUp25>(
session, supportType.wooden, 0, direction, height, session.SupportColours);
PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat);
const auto tunnelType = direction == 0 || direction == 3 ? TunnelSubType::Flat : TunnelSubType::SlopeEnd;
PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, tunnelType);
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
PaintUtilSetGeneralSupportHeight(session, height + 48);