From 99475321037ff8c1fc85f7a1bddb99f706fd6a3c Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Thu, 13 Apr 2017 20:24:12 +0200 Subject: [PATCH] Multiply Giga Coaster booster values by 2 --- src/openrct2/ride/vehicle.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/openrct2/ride/vehicle.c b/src/openrct2/ride/vehicle.c index e7a04b7263..653b18c496 100644 --- a/src/openrct2/ride/vehicle.c +++ b/src/openrct2/ride/vehicle.c @@ -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;