1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +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

@@ -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);