summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-20 13:26:27 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-20 13:26:27 +0300
commiteab6741afec8f1d1b92c39c1f787a2ff69320be7 (patch)
treead5663f15cc3267e6557baf873e7df48fb52e89e /src
parente9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d (diff)
fix
Diffstat (limited to 'src')
-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);