From fabd171ff5d558933b889daf7019171dffdd25c5 Mon Sep 17 00:00:00 2001 From: mix <167040362+mixiate@users.noreply.github.com> Date: Mon, 15 Sep 2025 09:32:32 +0100 Subject: [PATCH] Fix LIM launched inline twists general support heights --- distribution/changelog.txt | 1 + .../track/coaster/LimLaunchedRollerCoaster.cpp | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index f642ceeef7..d9ac406e96 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -9,6 +9,7 @@ - Fix: [#25160] The Go-Karts steep to flat track piece has incorrect wooden support clearance heights. - Fix: [#25163] Some of the Junior Roller Coaster flat to steep track wooden support clearance heights are different to RCT1. - Fix: [#25173] Desync when placing a park entrance in multiplayer. +- Fix: [#25179] The LIM Launched Roller Coaster inline twists have incorrect wooden support clearance heights (original bug). 0.4.26 (2025-09-06) ------------------------------------------------------------------------ diff --git a/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp b/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp index 732133a98a..b53b4d1a73 100644 --- a/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp @@ -684,7 +684,7 @@ static void LimLaunchedRCTrackLeftTwistDownToUp( PaintSegment::topRight, PaintSegment::bottomLeft), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height + 48); + PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); break; case 2: switch (direction) @@ -739,7 +739,7 @@ static void LimLaunchedRCTrackLeftTwistDownToUp( PaintSegment::topRight, PaintSegment::bottomLeft), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height); + PaintUtilSetGeneralSupportHeight(session, height + 16); break; } } @@ -846,7 +846,7 @@ static void LimLaunchedRCTrackRightTwistDownToUp( PaintSegment::bottomLeft, PaintSegment::bottomRight), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height + 48); + PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); break; case 2: switch (direction) @@ -901,7 +901,7 @@ static void LimLaunchedRCTrackRightTwistDownToUp( PaintSegment::bottomLeft, PaintSegment::bottomRight), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height); + PaintUtilSetGeneralSupportHeight(session, height + 16); break; } } @@ -961,7 +961,7 @@ static void LimLaunchedRCTrackLeftTwistUpToDown( PaintSegment::bottomLeft, PaintSegment::bottomRight), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height); + PaintUtilSetGeneralSupportHeight(session, height + 16); break; case 1: switch (direction) @@ -1007,7 +1007,7 @@ static void LimLaunchedRCTrackLeftTwistUpToDown( PaintSegment::bottomLeft, PaintSegment::bottomRight), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height + 48); + PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); break; case 2: switch (direction) @@ -1123,7 +1123,7 @@ static void LimLaunchedRCTrackRightTwistUpToDown( PaintSegment::topRight, PaintSegment::bottomLeft), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height + 64); + PaintUtilSetGeneralSupportHeight(session, height + 16); break; case 1: switch (direction) @@ -1169,7 +1169,7 @@ static void LimLaunchedRCTrackRightTwistUpToDown( PaintSegment::topRight, PaintSegment::bottomLeft), direction), 0xFFFF, 0); - PaintUtilSetGeneralSupportHeight(session, height + 48); + PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); break; case 2: switch (direction)