mirror of
https://github.com/halpz/re3.git
synced 2024-12-22 17:35:29 +00:00
fix
This commit is contained in:
parent
aa104bb0aa
commit
7d5b1e6c2e
|
@ -810,8 +810,8 @@ CCarCtrl::UpdateCarOnRails(CVehicle* pVehicle)
|
||||||
pVehicle->AutoPilot.ModifySpeed(0.0f);
|
pVehicle->AutoPilot.ModifySpeed(0.0f);
|
||||||
if (CTimer::GetTimeInMilliseconds() > pVehicle->AutoPilot.m_nTempAction){
|
if (CTimer::GetTimeInMilliseconds() > pVehicle->AutoPilot.m_nTempAction){
|
||||||
pVehicle->AutoPilot.m_nTempAction = TEMPACT_NONE;
|
pVehicle->AutoPilot.m_nTempAction = TEMPACT_NONE;
|
||||||
pVehicle->AutoPilot.m_nAntiReverseTimer = 0;
|
pVehicle->AutoPilot.m_nAntiReverseTimer = CTimer::GetTimeInMilliseconds();
|
||||||
pVehicle->AutoPilot.m_nTimeToStartMission = 0;
|
pVehicle->AutoPilot.m_nTimeToStartMission = CTimer::GetTimeInMilliseconds();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue