diff options
author | aap <aap@papnet.eu> | 2020-06-07 17:27:23 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-07 17:27:23 +0200 |
commit | 464b232321ea50cc926b6b15c540832cd68aefb7 (patch) | |
tree | b4484a3b5eeb6cd75bd4c4f87eb8c2a53eb171e8 /src/vehicles | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-464b232321ea50cc926b6b15c540832cd68aefb7.tar re3-464b232321ea50cc926b6b15c540832cd68aefb7.tar.gz re3-464b232321ea50cc926b6b15c540832cd68aefb7.tar.bz2 re3-464b232321ea50cc926b6b15c540832cd68aefb7.tar.lz re3-464b232321ea50cc926b6b15c540832cd68aefb7.tar.xz re3-464b232321ea50cc926b6b15c540832cd68aefb7.tar.zst re3-464b232321ea50cc926b6b15c540832cd68aefb7.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Bike.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp index 74dd376b..0254247e 100644 --- a/src/vehicles/Bike.cpp +++ b/src/vehicles/Bike.cpp @@ -711,7 +711,7 @@ CBike::ProcessControl(void) fwdSpeed = DotProduct(m_vecMoveSpeed, GetForward()); if(!CVehicle::bCheat3) gripCheat = false; - float acceleration = pHandling->Transmission.CalculateDriveAcceleration(m_fGasPedal, m_nCurrentGear, m_fChangeGearTime, fwdSpeed, gripCheat); + acceleration = pHandling->Transmission.CalculateDriveAcceleration(m_fGasPedal, m_nCurrentGear, m_fChangeGearTime, fwdSpeed, gripCheat); acceleration /= m_fForceMultiplier; brake = m_fBrakePedal * pHandling->fBrakeDeceleration * CTimer::GetTimeStep(); |