1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix Junior Roller Coaster flat to steep tunnels (#24826)

This commit is contained in:
mix
2025-07-24 13:34:54 +01:00
committed by GitHub
parent 386bebe700
commit cacf352059
2 changed files with 7 additions and 6 deletions

View File

@@ -10,6 +10,7 @@
- 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.
- Fix: [#24826] The Junior Roller Coaster flat-to-steep track piece tunnels are incorrect.
0.4.24 (2025-07-05)
------------------------------------------------------------------------

View File

@@ -5592,7 +5592,7 @@ static void JuniorRCFlatTo60DegUpPaintSetup(
switch (direction)
{
case 0:
PaintUtilPushTunnelLeft(session, height, kTunnelGroup, TunnelSubType::SlopeStart);
PaintUtilPushTunnelLeft(session, height, kTunnelGroup, TunnelSubType::Flat);
break;
case 1:
PaintUtilPushTunnelRight(session, height + 24, kTunnelGroup, TunnelSubType::SlopeEnd);
@@ -5601,7 +5601,7 @@ static void JuniorRCFlatTo60DegUpPaintSetup(
PaintUtilPushTunnelLeft(session, height + 24, kTunnelGroup, TunnelSubType::SlopeEnd);
break;
case 3:
PaintUtilPushTunnelRight(session, height, kTunnelGroup, TunnelSubType::SlopeStart);
PaintUtilPushTunnelRight(session, height, kTunnelGroup, TunnelSubType::Flat);
break;
}
@@ -5655,16 +5655,16 @@ static void JuniorRC60DegUpToFlatPaintSetup(
switch (direction)
{
case 0:
PaintUtilPushTunnelLeft(session, height, kTunnelGroup, TunnelSubType::SlopeStart);
PaintUtilPushTunnelLeft(session, height - 8, kTunnelGroup, TunnelSubType::SlopeStart);
break;
case 1:
PaintUtilPushTunnelRight(session, height + 24, kTunnelGroup, TunnelSubType::SlopeEnd);
PaintUtilPushTunnelRight(session, height + 24, kTunnelGroup, TunnelSubType::Flat);
break;
case 2:
PaintUtilPushTunnelLeft(session, height + 24, kTunnelGroup, TunnelSubType::SlopeEnd);
PaintUtilPushTunnelLeft(session, height + 24, kTunnelGroup, TunnelSubType::Flat);
break;
case 3:
PaintUtilPushTunnelRight(session, height, kTunnelGroup, TunnelSubType::SlopeStart);
PaintUtilPushTunnelRight(session, height - 8, kTunnelGroup, TunnelSubType::SlopeStart);
break;
}