diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:41:31 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:41:31 +0100 |
commit | ac3ba5b4a651d9557167af73acef65dfcd084933 (patch) | |
tree | 7015c7f3d85bf5f164617ac1d3049d86ae7a3c98 /src/peds/PedAI.cpp | |
parent | 2804ad2363626958be7513014b9a302ea72768b6 (diff) |
more renames
Diffstat (limited to 'src/peds/PedAI.cpp')
-rw-r--r-- | src/peds/PedAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/PedAI.cpp b/src/peds/PedAI.cpp index b7b63c00..3aa9300c 100644 --- a/src/peds/PedAI.cpp +++ b/src/peds/PedAI.cpp @@ -1520,7 +1520,7 @@ CPed::ProcessObjective(void) if (bInVehicle) { bScriptObjectiveCompleted = true; RestorePreviousObjective(); - } else if (m_hitRecoverTimer < CTimer::GetTimeInMilliseconds()) { + } else if (m_carJackTimer < CTimer::GetTimeInMilliseconds()) { CVehicle *carToSteal = nil; float closestCarDist = nEnterCarRangeMultiplier * ENTER_CAR_MAX_DIST; CVector pos = GetPosition(); @@ -1545,7 +1545,7 @@ CPed::ProcessObjective(void) } if (carToSteal) { SetObjective(OBJECTIVE_ENTER_CAR_AS_DRIVER, carToSteal); - m_hitRecoverTimer = CTimer::GetTimeInMilliseconds() + 5000; + m_carJackTimer = CTimer::GetTimeInMilliseconds() + 5000; } else { RestorePreviousObjective(); RestorePreviousState(); |