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

Fix LIM Launched RC medium half loops from clipping in to eachother

This commit is contained in:
mix
2024-10-28 22:02:35 +00:00
parent d2e01dde4e
commit 85bfa10fe3
2 changed files with 7 additions and 6 deletions

View File

@@ -16,6 +16,7 @@
- Fix: [#23044] "remove_unused_objects" command causes blank peep names.
- Fix: [#23048] Map generator allows map sizes out of range through text input.
- Fix: [#23058] [Plugin] Changing window colours doesnt trigger the window to be fully redrawn.
- Fix: [#23085] LIM Launched Roller Coaster medium half loops clip into each other when built back-to-back.
0.4.15 (2024-10-06)
------------------------------------------------------------------------

View File

@@ -3346,12 +3346,12 @@ static void LimLaunchedRCTrackLeftMediumHalfLoopUp(
case 0:
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(SPR_G2_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 3),
{ 0, 0, height }, { { 0, 0, height }, { 0, 32, 160 } });
{ 0, 0, height }, { { 2, 0, height }, { 1, 32, 160 } });
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(SPR_G2_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 8),
{ 0, 0, height }, { { 30, 0, height }, { 0, 32, 160 } });
{ 0, 0, height }, { { 0, 0, height + 140 }, { 32, 32, 3 } });
break;
case 2:
PaintAddImageAsParentRotated(
@@ -3506,7 +3506,7 @@ static void LimLaunchedRCTrackRightMediumHalfLoopUp(
case 1:
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(SPR_G2_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 27),
{ 0, 0, height }, { { 30, 0, height }, { 0, 32, 96 } });
{ 0, 0, height }, { { 30, 16, height }, { 0, 32, 96 } });
MetalBSupportsPaintSetup(
session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours);
break;
@@ -3541,17 +3541,17 @@ static void LimLaunchedRCTrackRightMediumHalfLoopUp(
case 0:
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(SPR_G2_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 23),
{ 0, 0, height }, { { -12, 0, height }, { 0, 32, 160 } });
{ 0, 0, height }, { { 0, 0, height }, { 1, 32, 160 } });
break;
case 1:
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(SPR_G2_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 28),
{ 0, 0, height }, { { 29, 0, height }, { 0, 32, 160 } });
{ 0, 0, height }, { { 29, 16, height }, { 0, 16, 160 } });
break;
case 2:
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(SPR_G2_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 33),
{ 0, 0, height }, { { 30, 0, height }, { 0, 32, 160 } });
{ 0, 0, height }, { { 0, 0, height + 140 }, { 32, 32, 3 } });
break;
case 3:
PaintAddImageAsParentRotated(