mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 13:24:07 +00:00
car AI
This commit is contained in:
parent
7234e6e698
commit
26f7691031
5 changed files with 446 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue