mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 21:14:08 +00:00
some less certainly fps fixes
This commit is contained in:
parent
a8f4f74a76
commit
abd230dcdd
2 changed files with 16 additions and 0 deletions
|
@ -865,8 +865,14 @@ CAutomobile::ProcessControl(void)
|
|||
CVector wheelFwd = GetForward();
|
||||
CVector wheelRight = GetRight();
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
// Not sure if this is needed, but brake usually has timestep as a factor
|
||||
if(bIsHandbrakeOn)
|
||||
brake = 20000.0f * CTimer::GetTimeStepFix();
|
||||
#else
|
||||
if(bIsHandbrakeOn)
|
||||
brake = 20000.0f;
|
||||
#endif
|
||||
|
||||
if(m_aWheelTimer[CARWHEEL_REAR_LEFT] > 0.0f){
|
||||
if(mod_HandlingManager.HasFrontWheelDrive(pHandling->nIdentifier))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue