Fix lay down roller coaster left corkscrew supports wrong at one angle

This commit is contained in:
mix authored and GitHub committed 2025-10-21 18:55:06 +00:00
1 parent df1da08548
commit 1f75cdb275
2 files changed
+9 -24

No files matched your search

+1
View File
@@ -22,6 +22,7 @@
- Fix: [#25370] The Hybrid Coaster diagonal brakes and block brakes do not block metal supports consistently.
- Fix: [#25371] The Wooden Roller Coaster small banked turns block too many metal supports.
- Fix: [#25378] The land tool sometimes allows land to be raised through a maze.
- Fix: [#25380] The Lay-down Roller Coaster left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#25388] The Shortcut Keys window uses the wrong colours for separators, scrollbars and buttons.
0.4.27 (2025-10-04)
@@ -10567,32 +10567,16 @@ static void LayDownRCTrackLeftFlyerCorkscrewUp(
{ { 0, 6, height + 4 }, { 32, 20, 3 } });
break;
}
if (direction == 2)
{
PaintUtilSetSegmentSupportHeight(
session,
PaintUtilRotateSegments(
EnumsToFlags(
PaintSegment::top, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::topRight,
PaintSegment::bottomLeft),
direction),
0xFFFF, 0);
}
MetalASupportsPaintSetupRotated(
session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours);
if (direction != 2)
{
PaintUtilSetSegmentSupportHeight(
session,
PaintUtilRotateSegments(
EnumsToFlags(
PaintSegment::top, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::topRight,
PaintSegment::bottomLeft),
direction),
0xFFFF, 0);
}
PaintUtilSetSegmentSupportHeight(
session,
PaintUtilRotateSegments(
EnumsToFlags(
PaintSegment::top, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::topRight,
PaintSegment::bottomLeft),
direction),
0xFFFF, 0);
if (direction == 0 || direction == 3)
{
PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat);