1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #21673: Incorrect tunnels on Classic Stand-Up

This commit is contained in:
Michael Steenbeek
2024-03-27 18:40:07 +01:00
committed by GitHub
parent 03b0c1e884
commit 8e563edcbe
2 changed files with 5 additions and 5 deletions

View File

@@ -192,10 +192,10 @@ static constexpr MetalSupportPlace kMetalSupportPlacementRotated[][NumOrthogonal
MetalSupportPlace::BottomLeftSide },
{ MetalSupportPlace::TopRightSide, MetalSupportPlace::BottomRightSide, MetalSupportPlace::BottomLeftSide,
MetalSupportPlace::TopLeftSide },
{ MetalSupportPlace::BottomLeftSide, MetalSupportPlace::BottomLeftSide, MetalSupportPlace::TopLeftSide,
MetalSupportPlace::TopRightSide },
{ MetalSupportPlace::BottomRightSide, MetalSupportPlace::TopLeftSide, MetalSupportPlace::TopRightSide,
{ MetalSupportPlace::BottomLeftSide, MetalSupportPlace::TopLeftSide, MetalSupportPlace::TopRightSide,
MetalSupportPlace::BottomRightSide },
{ MetalSupportPlace::BottomRightSide, MetalSupportPlace::BottomLeftSide, MetalSupportPlace::TopLeftSide,
MetalSupportPlace::TopRightSide },
};
/**

View File

@@ -374,7 +374,7 @@ static void classicStandUpRCTrackBankedRightQuarterTurn5(
session, MetalSupportType::Tubes, MetalSupportPlace::Centre, 0, height, session.SupportColours);
if (direction == 1 || direction == 0)
{
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
PaintUtilPushTunnelRotated(session, direction ^ 1, height, TUNNEL_0);
}
PaintUtilSetSegmentSupportHeight(
session,
@@ -1028,7 +1028,7 @@ static void classicStandUpRCTrackRightBankedQuarterTurn3(
session, MetalSupportType::Tubes, MetalSupportPlace::Centre, 0, height, session.SupportColours);
if (direction == 0 || direction == 1)
{
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
PaintUtilPushTunnelRotated(session, direction ^ 1, height, TUNNEL_0);
}
PaintUtilSetSegmentSupportHeight(
session,