1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix #22796: Mini roller coaster paint code triggers assertion

This commit is contained in:
Michael Steenbeek
2024-09-21 22:43:18 +02:00
committed by GitHub
parent 636826a987
commit ea6ffc4f6b

View File

@@ -5282,7 +5282,7 @@ static void MiniRCTrackDiag60DegUp(
break;
}
MetalBSupportsPaintSetupRotated(
session, supportType.metal, MetalSupportPlace::LeftCorner, (direction & 1) ? 42 : 38, direction, height,
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, (direction & 1) ? 42 : 38, height,
session.SupportColours);
PaintUtilSetSegmentSupportHeight(
session,