1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Fix go karts steep to flat not drawing correctly in flat side tunnel

This commit is contained in:
mix
2025-11-10 10:21:28 +00:00
committed by GitHub
parent 7ab40fb5c6
commit 7f530bfd23
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
- Fix: [#25476] When both RCT2 and RCT1 are present, autodetection fails.
- Fix: [#25480] The mini track design preview and price are misaligned in Enlarged UI mode.
- Fix: [#25488] Crash in headless mode.
- Fix: [#25494] The Go-Karts steep to flat track does not draw correctly in the flat side tunnel.
- Fix: [objects#401] Round tunnels on down slopes glitch.
- Fix: [objects#404] Wooden Wild Mine cars incorrectly allow setting a third remap colour.
- Fix: [objects#408] Australian fountain sets have confusing naming.

View File

@@ -1892,7 +1892,7 @@ static void TrackUp60ToFlatLongBase(
}
else if (trackSequence == 3 && (direction == 1 || direction == 2))
{
PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat);
PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::FlatTo25Deg);
}
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
static constexpr std::array generalSupportHeights = { 80, 80, 56, 40 };