summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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();