diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 9858448fe3..10452f5818 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -9,6 +9,7 @@ - Fix: [#23522] Diagonal sloped Steeplechase supports have glitched sprites at the base. - Fix: [#23795] Looping Roller Coaster vertical loop supports are drawn incorrectly. - Fix: [#23809] Trains glitch on Bobsleigh Coaster small helixes. +- Fix: [#23818] Spinning tunnels can draw over sloped terrain in front of them. 0.4.19.1 (2025-02-03) ------------------------------------------------------------------------ diff --git a/src/openrct2/ride/TrackPaint.cpp b/src/openrct2/ride/TrackPaint.cpp index c8ab3ecde8..96287bb482 100644 --- a/src/openrct2/ride/TrackPaint.cpp +++ b/src/openrct2/ride/TrackPaint.cpp @@ -1749,11 +1749,11 @@ void TrackPaintUtilSpinningTunnelPaint(PaintSession& session, int8_t thickness, imageId = colourFlags.WithIndex(trackSpritesGhostTrainSpinningTunnel[direction & 1][1][frame]); if (direction == 0 || direction == 2) { - PaintAddImageAsParent(session, imageId, { 0, 0, height }, { { 4, 28, height }, { 26, 1, 23 } }); + PaintAddImageAsParent(session, imageId, { 0, 0, height }, { { 2, 28, height }, { 28, 1, 23 } }); } else { - PaintAddImageAsParent(session, imageId, { 0, 0, height }, { { 28, 4, height }, { 1, 26, 23 } }); + PaintAddImageAsParent(session, imageId, { 0, 0, height }, { { 28, 2, height }, { 1, 28, 23 } }); } }