Skip to content

Commit

Permalink
Fix OpenRCT2#22808: Incorrect support rotation on Mini RC
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Sep 30, 2024
1 parent e042245 commit d5d0008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions distribution/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- Fix: [#22729] Invisibility settings persist after reloading OpenRCT2.
- Fix: [#22734] Support clearance above steep Side-Friction track is too low.
- Fix: [#22774] Fix entities leaving stale pixels on the screen when the framerate is uncapped.
- Fix: [#22808] Incorrect support rotation on some Mini Roller Coaster track pieces.
- Fix: [objects#346] Invalid refund price for Brick Base Block scenery item.

0.4.14 (2024-09-01)
Expand Down
7 changes: 4 additions & 3 deletions src/openrct2/paint/track/coaster/MiniRollerCoaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,8 @@ static void MiniRCTrackRightQuarterTurn525DegUp(
break;
}
MetalASupportsPaintSetupRotated(
session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours);
session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 14, height,
session.SupportColours);
switch (direction)
{
case 0:
Expand Down Expand Up @@ -2782,8 +2783,8 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
break;
}
MetalASupportsPaintSetupRotated(
session, supportType.metal, MetalSupportPlace::Centre, direction, (direction == 2) ? 15 : 12, height,
session.SupportColours);
session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), (direction == 2) ? 15 : 12,
height, session.SupportColours);
switch (direction)
{
case 2:
Expand Down

0 comments on commit d5d0008

Please sign in to comment.