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

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

No files matched your search

+1
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.
+1 -1
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 };