From 2b4cc24e92d1503623a26cdb43d6c307ec53f0c5 Mon Sep 17 00:00:00 2001 From: mix <167040362+mixiate@users.noreply.github.com> Date: Tue, 14 Oct 2025 14:46:23 +0100 Subject: [PATCH] Fix missing tunnel at end of go-karts medium right gentle sloped turn (#25342) --- distribution/changelog.txt | 1 + src/openrct2/paint/track/thrill/GoKarts.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 55bb0971aa..1024d9884f 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -4,6 +4,7 @@ - Fix: [#22779, #25330] Incorrect queue paths in Nevermore Park and Six Flags Holland scenarios (bug in the original scenarios). - Fix: [#25299] The Mine Train Coaster left large helix draws incorrect sprites at certain angles (original bug). - Fix: [#25328] Spiral Slide in Blackpool Pleasure Beach has its entrance and exit the wrong way round (bug in the original scenario). +- Fix: [#25342] The Go-Karts medium right gentle sloped turn does not have a tunnel at the end. 0.4.27 (2025-10-04) ------------------------------------------------------------------------ diff --git a/src/openrct2/paint/track/thrill/GoKarts.cpp b/src/openrct2/paint/track/thrill/GoKarts.cpp index dd6eeb6108..dce70a01f8 100644 --- a/src/openrct2/paint/track/thrill/GoKarts.cpp +++ b/src/openrct2/paint/track/thrill/GoKarts.cpp @@ -2474,7 +2474,7 @@ static void TrackRightQuarterTurn5TilesUp25( { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); } - else if (trackSequence == 6 && (direction == 2 || direction == 3)) + else if (trackSequence == 6 && (direction == 0 || direction == 1)) { PaintUtilPushTunnelRotated(session, DirectionNext(direction), height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); }