summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-20 12:51:39 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-20 12:51:39 +0200
commit144f12525e64e8d7de5890ea61eacf51b4f5e980 (patch)
tree7cee6f787f4c03228b580465ac96e0833af7cce5 /src/control/Script.cpp
parentfix (diff)
downloadre3-144f12525e64e8d7de5890ea61eacf51b4f5e980.tar
re3-144f12525e64e8d7de5890ea61eacf51b4f5e980.tar.gz
re3-144f12525e64e8d7de5890ea61eacf51b4f5e980.tar.bz2
re3-144f12525e64e8d7de5890ea61eacf51b4f5e980.tar.lz
re3-144f12525e64e8d7de5890ea61eacf51b4f5e980.tar.xz
re3-144f12525e64e8d7de5890ea61eacf51b4f5e980.tar.zst
re3-144f12525e64e8d7de5890ea61eacf51b4f5e980.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 4b3a05f4..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);