Accuracy fixes

This commit is contained in:
Gymnasiast 2016-12-25 16:14:43 +01:00
parent e82b19100d
commit f23f443ad2
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
}