mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 20:48:59 +00:00
accidental shadowing in CBike::ProcessControl
This commit is contained in:
parent
c5a24eaf70
commit
464b232321
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue