mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Fix stretch backwards coasters
This commit is contained in:
@@ -7056,9 +7056,9 @@ loc_6DBD42:
|
||||
sint16 z = vehicle->track_z + moveInfo->z + RCT2_GLOBAL(0x0097D21A + (ride->type * 8), sint8);
|
||||
|
||||
regs.ebx = 0;
|
||||
if (x == unk_F64E20->x) { regs.ebx |= 1; }
|
||||
if (y == unk_F64E20->y) { regs.ebx |= 2; }
|
||||
if (z == unk_F64E20->z) { regs.ebx |= 4; }
|
||||
if (x != unk_F64E20->x) { regs.ebx |= 1; }
|
||||
if (y != unk_F64E20->y) { regs.ebx |= 2; }
|
||||
if (z != unk_F64E20->z) { regs.ebx |= 4; }
|
||||
vehicle->remaining_distance += RCT2_ADDRESS(0x009A2930, sint32)[regs.ebx];
|
||||
|
||||
unk_F64E20->x = x;
|
||||
|
||||
Reference in New Issue
Block a user