mirror of https://github.com/OpenRCT2/OpenRCT2.git
Accuracy fixes
This commit is contained in:
parent
e82b19100d
commit
f23f443ad2
|
@ -7484,9 +7484,9 @@ loc_6DAEB9:
|
|||
ride->breakdown_reason_pending == BREAKDOWN_BRAKES_FAILURE &&
|
||||
ride->mechanic_status == RIDE_MECHANIC_STATUS_4
|
||||
)) {
|
||||
regs.eax = (vehicle->brake_speed << 16) / 2;
|
||||
regs.eax = (vehicle->brake_speed << 16);
|
||||
if (regs.eax > _vehicleVelocityF64E08) {
|
||||
vehicle->acceleration = _vehicleVelocityF64E08 * 16;
|
||||
vehicle->acceleration = _vehicleVelocityF64E08 * 1.5;
|
||||
}
|
||||
// else if (!(gCurrentTicks & 0x0F)) {
|
||||
// if (_vehicleF64E2C == 0) {
|
||||
|
@ -7843,9 +7843,9 @@ loc_6DBA33:;
|
|||
|
||||
// Bit of a hack. We need a flag or something similar to distinguish between spinning control track and boosters.
|
||||
if (trackType == TRACK_ELEM_RCTC_BOOSTER && rideEntry->ride_type[0] != RIDE_TYPE_WILD_MOUSE) {
|
||||
regs.eax = (vehicle->brake_speed << 16) / 2;
|
||||
regs.eax = (vehicle->brake_speed << 16);
|
||||
if (regs.eax < _vehicleVelocityF64E08) {
|
||||
regs.eax = _vehicleVelocityF64E08 * 16;
|
||||
regs.eax = _vehicleVelocityF64E08 * 1.5;
|
||||
vehicle->acceleration = regs.eax;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue