mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 16:50:07 +00:00
bike bug
This commit is contained in:
parent
45c09224f7
commit
7041f11987
|
@ -792,7 +792,7 @@ CBike::ProcessControl(void)
|
||||||
CSurfaceTable::GetAdhesionGroup(m_aWheelColPoints[rearLine].surfaceB) == ADHESIVE_SAND)
|
CSurfaceTable::GetAdhesionGroup(m_aWheelColPoints[rearLine].surfaceB) == ADHESIVE_SAND)
|
||||||
steer *= pBikeHandling->fSlipSteer;
|
steer *= pBikeHandling->fSlipSteer;
|
||||||
f = Asin(Min(steer/SQR(fwdSpeed), 1.0))/DEGTORAD(pHandling->fSteeringLock);
|
f = Asin(Min(steer/SQR(fwdSpeed), 1.0))/DEGTORAD(pHandling->fSteeringLock);
|
||||||
if(m_fSteerAngle < 0.0f && m_fLeanLRAngle < 0.0f &&
|
if(m_fSteerAngle < 0.0f && m_fLeanLRAngle < 0.0f ||
|
||||||
m_fSteerAngle > 0.0f && m_fLeanLRAngle > 0.0f)
|
m_fSteerAngle > 0.0f && m_fLeanLRAngle > 0.0f)
|
||||||
f *= 2.0f;
|
f *= 2.0f;
|
||||||
f = Min(f, 1.0f);
|
f = Min(f, 1.0f);
|
||||||
|
|
Loading…
Reference in a new issue