1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 07:43:01 +01:00

Fix classic wooden small banked turns blocking supports incorrectly (#24989)

This commit is contained in:
mix
2025-08-17 11:58:46 +01:00
committed by GitHub
parent 3ca01d213d
commit 85521a94a7
2 changed files with 4 additions and 5 deletions

View File

@@ -22,6 +22,7 @@
- Fix: [#24958] Android: fix crash when device is offline.
- Fix: [#24961] Queues with corner connections set with the tile inspector draw incorrect sprites.
- Fix: [#24972] Fix crash when closing windows would open other windows.
- Fix: [#24989] Classic Wooden Roller Coaster small banked turns do not block metal supports correctly.
0.4.25 (2025-08-03)
------------------------------------------------------------------------

View File

@@ -1071,11 +1071,9 @@ static void ClassicWoodenRCTrackRightQuarterTurn3Bank(
static constexpr int blockedSegments[4] = {
kSegmentsAll,
0,
EnumsToFlags(PaintSegment::left, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::bottomLeft),
EnumsToFlags(
PaintSegment::top, PaintSegment::left, PaintSegment::right, PaintSegment::centre, PaintSegment::topLeft,
PaintSegment::topRight, PaintSegment::bottomLeft, PaintSegment::bottomRight),
kSegmentsAll,
EnumsToFlags(PaintSegment::bottom, PaintSegment::centre, PaintSegment::bottomLeft, PaintSegment::bottomRight),
kSegmentsAll,
};
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][0], height);