diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-20 20:38:24 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-20 20:39:27 +0300 |
commit | 8b7f469ae14545b75ea24fee474f5b2a4c6a9bdf (patch) | |
tree | 3ea9ead1eb69fc309b114b278da626cffeaf2ead /src | |
parent | 11f2d941f1ca4168bd4eaa01372ac695c70a1488 (diff) |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/control/CarCtrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index df50f224..6742ccfe 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -1060,8 +1060,8 @@ CCarCtrl::UpdateCarOnRails(CVehicle* pVehicle) pVehicle->AutoPilot.ModifySpeed(0.0f); if (CTimer::GetTimeInMilliseconds() > pVehicle->AutoPilot.m_nTempAction){ pVehicle->AutoPilot.m_nTempAction = TEMPACT_NONE; - pVehicle->AutoPilot.m_nAntiReverseTimer = 0; - pVehicle->AutoPilot.m_nTimeToStartMission = 0; + pVehicle->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds(); + pVehicle->AutoPilot.m_nTimeToStartMission = CTimer::GetTimeInMilliseconds(); } return; } |