mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix stretch backwards coasters
This commit is contained in:
parent
48320419ea
commit
4c88609e7e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue