From 503d55d0518521a20c0e7a5afad9b15d761bdb5b Mon Sep 17 00:00:00 2001 From: mix <167040362+mixiate@users.noreply.github.com> Date: Fri, 14 Feb 2025 16:51:20 +0000 Subject: [PATCH] Fix train glitching on Bobsleigh Coaster small helixes (#23809) --- distribution/changelog.txt | 1 + src/openrct2/paint/track/coaster/BobsleighCoaster.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 863ea4df1e..697c3df739 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -5,6 +5,7 @@ - Fix: [#22617] Sloped Wooden and Side-Friction supports draw out of order when built directly above diagonal track pieces. - 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. 0.4.19.1 (2025-02-03) ------------------------------------------------------------------------ diff --git a/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp b/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp index 8126522844..5d487bdf60 100644 --- a/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp +++ b/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp @@ -2314,7 +2314,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(14884), { 0, 0, height }, - { { 0, 6, height + 8 }, { 32, 20, 2 } }); + { { 0, 6, height }, { 32, 20, 2 } }); PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(14896), { 0, 0, height }, { { 0, 6, height + 27 }, { 32, 20, 0 } }); @@ -2551,7 +2551,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(14882), { 0, 0, height }, - { { 0, 6, height + 8 }, { 32, 20, 2 } }); + { { 0, 6, height }, { 32, 20, 2 } }); PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(14894), { 0, 0, height }, { { 0, 6, height + 27 }, { 32, 20, 0 } });