Explicitly use twister quarter loop function for inverted flying coaster

This commit is contained in:
mix committed 2026-09-23 16:29:55 +01:00
1 parent 0c3382d58d
commit 859578b8d8
3 files changed
+7 -1

No files matched your search

@@ -8,6 +8,7 @@
*****************************************************************************/
#include "../../../SpriteIds.h"
#include "../../../paint/track/coaster/TwisterRollerCoaster.h"
#include "../../../ride/TrackPaint.h"
#include "../../../ride/ted/TrackElemType.h"
#include "../../../world/tile_element/TrackElement.h"
@@ -9000,6 +9001,8 @@ TrackPaintFunction GetTrackPaintFunctionFlyingRCInverted(TrackElemType trackType
return InvertedFlyingRCTrackRightFlyerTwistDown;
case TrackElemType::flyerHalfLoopInvertedDown:
return FlyingRCTrackFlyerHalfLoopDown;
case TrackElemType::multiDimInvertedFlatToDown90QuarterLoop:
return TwisterRCTrackInvertedFlatTo90DegQuarterLoopDown;
// OpenRCT2-specific paint code
case TrackElemType::booster:
return InvertedFlyingRCTrackBooster;
@@ -13144,7 +13144,7 @@ void TwisterRCTrack90DegToInvertedFlatQuarterLoopUp(
}
}
static void TwisterRCTrackInvertedFlatTo90DegQuarterLoopDown(
void TwisterRCTrackInvertedFlatTo90DegQuarterLoopDown(
PaintSession& session, const Ride& ride, uint8_t trackSequence, uint8_t direction, int32_t height,
const TrackElement& trackElement, SupportType supportType)
{
@@ -50,3 +50,6 @@ void TwisterRCTrackRightLargeHalfLoopDown(
void TwisterRCTrack90DegToInvertedFlatQuarterLoopUp(
PaintSession& session, const OpenRCT2::Ride& ride, uint8_t trackSequence, uint8_t direction, int32_t height,
const OpenRCT2::TrackElement& trackElement, SupportType supportType);
void TwisterRCTrackInvertedFlatTo90DegQuarterLoopDown(
PaintSession& session, const OpenRCT2::Ride& ride, uint8_t trackSequence, uint8_t direction, int32_t height,
const OpenRCT2::TrackElement& trackElement, SupportType supportType);