mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
fix handbrake
This commit is contained in:
parent
776693235c
commit
c295981c5a
@ -1345,7 +1345,7 @@ CAutomobile::ProcessCarWheelPair(int leftWheel, int rightWheel, float steerAngle
|
||||
suspensionBias = 2.0f*(1.0f-pHandling->fSuspensionBias);
|
||||
|
||||
float fwdSpeed = DotProduct(m_vecMoveSpeed, GetForward());
|
||||
if(bIsHandbrakeOn && Abs(fwdSpeed) > 0.1f){
|
||||
if(bIsHandbrakeOn && Abs(fwdSpeed) > 0.01f){
|
||||
#ifdef FIX_BUGS
|
||||
// Not sure if this is needed, but brake usually has timestep as a factor
|
||||
brake = 20000.0f * CTimer::GetTimeStepFix();
|
||||
|
Loading…
Reference in New Issue
Block a user