summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Bike.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-07 17:27:23 +0200
committeraap <aap@papnet.eu>2020-06-07 17:27:23 +0200
commit464b232321ea50cc926b6b15c540832cd68aefb7 (patch)
treeb4484a3b5eeb6cd75bd4c4f87eb8c2a53eb171e8 /src/vehicles/Bike.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-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/Bike.cpp')
-rw-r--r--src/vehicles/Bike.cpp2
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();