mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 20:30:02 +00:00
accidental shadowing in CBike::ProcessControl
This commit is contained in:
parent
c5a24eaf70
commit
464b232321
|
@ -711,7 +711,7 @@ CBike::ProcessControl(void)
|
||||||
fwdSpeed = DotProduct(m_vecMoveSpeed, GetForward());
|
fwdSpeed = DotProduct(m_vecMoveSpeed, GetForward());
|
||||||
if(!CVehicle::bCheat3)
|
if(!CVehicle::bCheat3)
|
||||||
gripCheat = false;
|
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;
|
acceleration /= m_fForceMultiplier;
|
||||||
|
|
||||||
brake = m_fBrakePedal * pHandling->fBrakeDeceleration * CTimer::GetTimeStep();
|
brake = m_fBrakePedal * pHandling->fBrakeDeceleration * CTimer::GetTimeStep();
|
||||||
|
|
Loading…
Reference in a new issue