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:
@@ -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)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user