mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 14:34:10 +00:00
CAutoPilot and CCurves
This commit is contained in:
parent
ca6d2d3181
commit
7234e6e698
3 changed files with 80 additions and 2 deletions
|
@ -428,7 +428,7 @@ CCarCtrl::GenerateOneRandomCar()
|
|||
pCar->AutoPilot.m_nTimeEnteredCurve = CTimer::GetTimeInMilliseconds() -
|
||||
(uint32)((0.5f + positionBetweenNodes) * pCar->AutoPilot.m_nTimeToSpendOnCurrentCurve);
|
||||
#else
|
||||
pCar->AutoPilot.m_nTotalSpeedScaleFactor = CTimer::GetTimeInMilliseconds() -
|
||||
pCar->AutoPilot.m_nTimeEnteredCurve = CTimer::GetTimeInMilliseconds() -
|
||||
(0.5f + positionBetweenNodes) * pCar->AutoPilot.m_nSpeedScaleFactor;
|
||||
#endif
|
||||
CVector directionCurrentLink(directionCurrentLinkX, directionCurrentLinkY, 0.0f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue