mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Merge pull request #20570 from zzril/fix-20389-reversed-banking-on-diagonal-slopes
Fix #20389: Reversed vehicles incorrectly banked on diagonal slopes
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
- Fix: [#20361] Crash when using random map generation.
|
||||
- Fix: [#20364] Adding too much money with cheats causes an overflow.
|
||||
- Fix: [#20365] Money cheat input does not support negative values.
|
||||
- Fix: [#20389] Reversed vehicles are now correctly banked on diagonal slopes.
|
||||
- Fix: [#20413] Crash when attempting to navigate an empty console history.
|
||||
- Fix: [#20417] Plugin/custom windows are missing the left border in the title bar.
|
||||
- Fix: [#20429] Error window tooltip not closing after 8 seconds.
|
||||
|
||||
@@ -3352,7 +3352,7 @@ static void VehiclePitchUp16BankedRight45(
|
||||
static void VehiclePitchUp16(
|
||||
PaintSession& session, const Vehicle* vehicle, int32_t imageDirection, int32_t z, const CarEntry* carEntry)
|
||||
{
|
||||
switch (vehicle->bank_rotation)
|
||||
switch (GetPaintBankRotation(vehicle))
|
||||
{
|
||||
case 0:
|
||||
VehiclePitchUp16Unbanked(session, vehicle, imageDirection, z, carEntry);
|
||||
@@ -3594,7 +3594,7 @@ static void VehiclePitchDown16BankedRight45(
|
||||
static void VehiclePitchDown16(
|
||||
PaintSession& session, const Vehicle* vehicle, int32_t imageDirection, int32_t z, const CarEntry* carEntry)
|
||||
{
|
||||
switch (vehicle->bank_rotation)
|
||||
switch (GetPaintBankRotation(vehicle))
|
||||
{
|
||||
case 0:
|
||||
VehiclePitchDown16Unbanked(session, vehicle, imageDirection, z, carEntry);
|
||||
|
||||
Reference in New Issue
Block a user