1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix go karts steep to flat general support heights

This commit is contained in:
mix
2025-09-12 19:42:03 +01:00
committed by GitHub
parent 0c2a52dd36
commit ea66706fbb
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
- Fix: [#25134] Vehicles visually glitch on diagonal steep slopes.
- Fix: [#25146] The support clearance height of the diagonal brakes for the Junior, inverted Flying and inverted Lay-down Roller Coasters is too high.
- Fix: [#25147] The wooden support clearance heights for steep Log Flume track pieces are too low.
- Fix: [#25160] The Go-Karts steep to flat track piece has incorrect wooden support clearance heights.
0.4.26 (2025-09-06)
------------------------------------------------------------------------

View File

@@ -1895,7 +1895,7 @@ static void TrackUp60ToFlatLongBase(
PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat);
}
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
static constexpr std::array generalSupportHeights = { 80, 64, 48, 48 };
static constexpr std::array generalSupportHeights = { 80, 80, 56, 40 };
PaintUtilSetGeneralSupportHeight(session, height + generalSupportHeights[trackSequence]);
}