1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Multiply Giga Coaster booster values by 2

This commit is contained in:
Gymnasiast
2017-04-13 20:24:12 +02:00
parent 7b940abeb0
commit 9947532103

View File

@@ -7515,7 +7515,13 @@ loc_6DAEB9:
}
}
else if (trackType == TRACK_ELEM_BOOSTER && ride->type != RIDE_TYPE_WILD_MOUSE) {
regs.eax = (vehicle->brake_speed << 16);
if (ride->type == RIDE_TYPE_GIGA_COASTER) {
regs.eax = (vehicle->brake_speed << 17);
}
else {
regs.eax = (vehicle->brake_speed << 16);
}
if (regs.eax > _vehicleVelocityF64E08) {
vehicle->acceleration = RideProperties[ride->type].booster_acceleration << 16; //_vehicleVelocityF64E08 * 1.2;
}
@@ -7867,7 +7873,13 @@ loc_6DBA33:;
// Boosters share their ID with the Spinning Control track.
if (trackType == TRACK_ELEM_BOOSTER && ride->type != RIDE_TYPE_WILD_MOUSE) {
regs.eax = (vehicle->brake_speed << 16);
if (ride->type == RIDE_TYPE_GIGA_COASTER) {
regs.eax = (vehicle->brake_speed << 17);
}
else {
regs.eax = (vehicle->brake_speed << 16);
}
if (regs.eax < _vehicleVelocityF64E08) {
regs.eax = RideProperties[ride->type].booster_acceleration << 16;
vehicle->acceleration = regs.eax;