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

Fix Looping Coaster trains clipping through steep quarter turns down

This commit is contained in:
Rik Smeets
2023-04-06 21:34:00 +02:00
committed by GitHub
parent 993da08fb9
commit c2d55e9535
2 changed files with 3 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
- Fix: [#19296] Crash due to a race condition for parallel object loading.
- Fix: [#19756] Crash with title sequences containing no commands.
- Fix: [#19767] No message when path is not connected to ride exit and is therefore unreachable for mechanics.
- Fix: [#19854] Looping Coaster trains clipping through steep quarter turns down.
0.4.4 (2023-03-28)
------------------------------------------------------------------------

View File

@@ -4436,7 +4436,7 @@ static void LoopingRCTrackLeftQuarterTurn160DegUp(
{ { 2, 2, height }, { 28, 28, 3 } });
PaintAddImageAsParentRotated(
session, direction, session.TrackColours[SCHEME_TRACK].WithIndex(15346), { 0, 0, height },
{ { 2, 2, height + 99 }, { 28, 28, 1 } });
{ { 2, 2, height + 75 }, { 28, 28, 1 } });
break;
case 2:
PaintAddImageAsParentRotated(
@@ -4497,7 +4497,7 @@ static void LoopingRCTrackRightQuarterTurn160DegUp(
{ { 2, 2, height }, { 28, 28, 3 } });
PaintAddImageAsParentRotated(
session, direction, session.TrackColours[SCHEME_TRACK].WithIndex(15339), { 0, 0, height },
{ { 2, 2, height + 99 }, { 28, 28, 1 } });
{ { 2, 2, height + 75 }, { 28, 28, 1 } });
break;
}
TrackPaintUtilRightQuarterTurn1TileTunnel(session, direction, height, -8, TUNNEL_1, +56, TUNNEL_2);