diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-06 13:25:13 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-06 13:25:13 +0200 |
commit | 26f769103163e6c3c96be6e8bf1d905d21db3dd2 (patch) | |
tree | 812d7924c63008b1f8fe81def0187575232ea3cf /src/control/CarCtrl.cpp | |
parent | CAutoPilot and CCurves (diff) | |
download | re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.gz re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.bz2 re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.lz re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.xz re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.zst re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/CarCtrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 1d59c6c8..a6cbad5e 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -2404,7 +2404,7 @@ void CCarCtrl::SteerAICarWithPhysicsTryingToBlockTarget_Stop(CVehicle* pVehicle, #ifdef FIX_BUGS pVehicle->m_nTimeBlocked += CTimer::GetTimeStepInMilliseconds(); #else - pVehicle->m_nTimeBlocked += 16.66f * CTimer::GetTimeStep(); // very doubtful constant + pVehicle->m_nTimeBlocked += 1000.0f / 60.0f * CTimer::GetTimeStep(); // very doubtful constant #endif else pVehicle->m_nTimeBlocked = 0; |