Fix #22796: Mini roller coaster paint code triggers assertion

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2024-09-21 22:43:18 +02:00
1 parent 636826a987
commit ea6ffc4f6b
1 file changed
+1 -1
@@ -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,