1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix #18787: Back of stall shown through vertical terrain (#18789)

This commit is contained in:
Michael Steenbeek
2022-12-09 19:59:47 +01:00
committed by GitHub
parent ca91c67eeb
commit c01fe36d80
2 changed files with 4 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ static void PaintFacility(
PaintUtilSetSegmentSupportHeight(session, SEGMENTS_ALL, 0xFFFF, 0);
PaintUtilSetGeneralSupportHeight(session, height + 32, 0x20);
if (direction == 1 || direction == 2)
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
}

View File

@@ -53,6 +53,7 @@ static void PaintShop(
PaintUtilSetSegmentSupportHeight(session, SEGMENTS_ALL, 0xFFFF, 0);
PaintUtilSetGeneralSupportHeight(session, height + 48, 0x20);
if (direction == 1 || direction == 2)
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
}