From 85521a94a7b1feee96b5bfec72de61aebde618ab Mon Sep 17 00:00:00 2001 From: mix <167040362+mixiate@users.noreply.github.com> Date: Sun, 17 Aug 2025 11:58:46 +0100 Subject: [PATCH] Fix classic wooden small banked turns blocking supports incorrectly (#24989) --- distribution/changelog.txt | 1 + .../paint/track/coaster/ClassicWoodenRollerCoaster.cpp | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index e2447ef301..2783a51f3f 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -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) ------------------------------------------------------------------------ diff --git a/src/openrct2/paint/track/coaster/ClassicWoodenRollerCoaster.cpp b/src/openrct2/paint/track/coaster/ClassicWoodenRollerCoaster.cpp index a5f3fe0bb8..29ef1264e5 100644 --- a/src/openrct2/paint/track/coaster/ClassicWoodenRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/ClassicWoodenRollerCoaster.cpp @@ -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(session, &imageIds[direction][trackSequence][0], height);