diff --git a/distribution/changelog.txt b/distribution/changelog.txt index f8d8c5d2aa..fa389afc67 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -1,6 +1,7 @@ 0.4.27 (in development) ------------------------------------------------------------------------ - Improved: [#2296, #2307] The land tool now takes sloped track and paths into account when modifying land. +- Fix: [#25131] The Reverse Freefall Coaster On-ride photo section track has incorrectly coloured ties. - Fix: [#25132] Crash when trying to use simulate on incomplete ride. 0.4.26 (2025-09-06) diff --git a/src/openrct2/paint/track/coaster/ReverseFreefallCoaster.cpp b/src/openrct2/paint/track/coaster/ReverseFreefallCoaster.cpp index 1d569b0ce8..24c4cb0988 100644 --- a/src/openrct2/paint/track/coaster/ReverseFreefallCoaster.cpp +++ b/src/openrct2/paint/track/coaster/ReverseFreefallCoaster.cpp @@ -391,27 +391,12 @@ static void PaintReverseFreefallRCOnridePhoto( PaintSession& session, const Ride& ride, uint8_t trackSequence, uint8_t direction, int32_t height, const TrackElement& trackElement, SupportType supportType) { - static constexpr uint32_t imageIds[4] = { - SPR_AIR_POWERED_VERTICAL_RC_FLAT_SW_NE, - SPR_AIR_POWERED_VERTICAL_RC_FLAT_NW_SE, - SPR_AIR_POWERED_VERTICAL_RC_FLAT_SW_NE, - SPR_AIR_POWERED_VERTICAL_RC_FLAT_NW_SE, - }; - - // The straight track without booster is borrowed from the APVC. - // It has one track colour, instead of the two that the Reverse Freefall Colour has. - auto colour = session.TrackColours; - if (!trackElement.IsGhost() && !trackElement.IsHighlighted()) - { - colour = colour.WithPrimary(colour.GetSecondary()); - } - PaintAddImageAsParentRotated( - session, direction, colour.WithIndex(imageIds[direction]), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 1 } }); + session, direction, session.TrackColours.WithIndex(kPiecesStation[direction]), { 0, 0, height }, + { { 0, 6, height }, { 32, 20, 1 } }); DrawSupportForSequenceA( session, supportType.wooden, trackSequence, direction, height, session.SupportColours); - ; TrackPaintUtilOnridePhotoPaint2(session, direction, trackElement, height); }