diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-20 15:23:42 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-20 15:23:42 +0200 |
commit | fd3cd2c26ac24fc104878cf80f59518ae51d2e8d (patch) | |
tree | 90809f252c4cbb485f5df5f23c76f9f380d9a8d2 /src/control/Script.cpp | |
parent | Ducking, shooting vehicle occupants and weapon fixes (diff) | |
parent | Merge pull request #636 from aap/miami (diff) | |
download | re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.tar re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.tar.gz re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.tar.bz2 re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.tar.lz re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.tar.xz re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.tar.zst re3-fd3cd2c26ac24fc104878cf80f59518ae51d2e8d.zip |
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 117e8f1d..8635a548 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -11099,7 +11099,6 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command) case COMMAND_IS_CHAR_OBJ_NO_OBJ: { CollectParameters(&m_nIp, 1); - CollectParameters(&m_nIp, 3); CPed* pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]); assert(pPed); UpdateCompareFlag(pPed->m_prevObjective == OBJECTIVE_NONE && pPed->m_objective == OBJECTIVE_NONE); @@ -11819,6 +11818,7 @@ int8 CRunningScript::ProcessCommands1300To1399(int32 command) } case COMMAND_IS_CHAR_STUCK: { + CollectParameters(&m_nIp, 1); CPed* pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]); assert(pPed); UpdateCompareFlag(pPed->m_nWaitState == WAITSTATE_STUCK); |