Fix hybrid coaster diag brakes not blocking supports consistently

This commit is contained in:
mix authored and GitHub committed 2025-10-18 16:31:47 +02:00
1 parent d2159a00ed
commit 33d239dc5c
2 files changed
+3 -14

No files matched your search

+1
View File
@@ -13,6 +13,7 @@
- Fix: [#25358] The Stand Up Roller Coaster left corkscrew does not block supports correctly.
- Fix: [#25363] The Mine Train Coaster flat-to-steep track pieces do not block all metal supports.
- Fix: [#25369] The Go-Karts medium turns and small flat and sloped turns do not block metal supports correctly.
- Fix: [#25370] The Hybrid Coaster diagonal brakes and block brakes do not block metal supports consistently.
0.4.27 (2025-10-04)
------------------------------------------------------------------------
@@ -1402,13 +1402,7 @@ namespace OpenRCT2::HybridRC
{ -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } });
break;
}
PaintUtilSetSegmentSupportHeight(
session,
PaintUtilRotateSegments(
EnumsToFlags(
PaintSegment::right, PaintSegment::centre, PaintSegment::topRight, PaintSegment::bottomRight),
direction),
0xFFFF, 0);
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
break;
case 1:
@@ -1504,13 +1498,7 @@ namespace OpenRCT2::HybridRC
{ -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } });
break;
}
PaintUtilSetSegmentSupportHeight(
session,
PaintUtilRotateSegments(
EnumsToFlags(
PaintSegment::right, PaintSegment::centre, PaintSegment::topRight, PaintSegment::bottomRight),
direction),
0xFFFF, 0);
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
break;
case 1: