1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +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

@@ -9,6 +9,7 @@
- Fix: [#24773] The new ride window debug authors does not show the correct authors for non legacy ride objects.
- Fix: [#24775] The scenery and new ride windows do not filter by file name or identifier correctly for non legacy objects.
- Fix: [#24824] The Air Powered Vertical Coaster top section track piece has vertical tunnels (original bug).
- Fix: [#24825] The River Rapids flat-to-gentle track piece tunnels are incorrect on the gentle side.
0.4.24 (2025-07-05)
------------------------------------------------------------------------

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);