summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 117e8f1d..4b3a05f4 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -11819,6 +11819,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);