mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix Wooden RC small banked turns blocking more supports than RCT2
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
- 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.
|
||||
- Fix: [#25371] The Wooden Roller Coaster small banked turns block too many metal supports.
|
||||
|
||||
0.4.27 (2025-10-04)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -27,6 +27,7 @@ enum class PaintSegment : uint16_t
|
||||
topLeft = 7,
|
||||
centre = 8,
|
||||
};
|
||||
constexpr uint16_t kSegmentsNone = 0;
|
||||
constexpr int32_t kSegmentsAll = EnumsToFlags(
|
||||
PaintSegment::top, PaintSegment::left, PaintSegment::right, PaintSegment::bottom, PaintSegment::centre,
|
||||
PaintSegment::topLeft, PaintSegment::topRight, PaintSegment::bottomLeft, PaintSegment::bottomRight);
|
||||
|
||||
@@ -1070,7 +1070,7 @@ static void ClassicWoodenRCTrackRightQuarterTurn3Bank(
|
||||
|
||||
static constexpr int blockedSegments[4] = {
|
||||
kSegmentsAll,
|
||||
kSegmentsAll,
|
||||
kSegmentsNone,
|
||||
EnumsToFlags(PaintSegment::bottom, PaintSegment::centre, PaintSegment::bottomLeft, PaintSegment::bottomRight),
|
||||
kSegmentsAll,
|
||||
};
|
||||
|
||||
@@ -298,7 +298,7 @@ static void WoodenRCTrackLeftQuarterTurn3Bank(
|
||||
|
||||
static constexpr int blockedSegments[4] = {
|
||||
kSegmentsAll,
|
||||
kSegmentsAll,
|
||||
kSegmentsNone,
|
||||
EnumsToFlags(PaintSegment::left, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::bottomLeft),
|
||||
kSegmentsAll,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user