summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-20 12:26:27 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-20 12:26:27 +0200
commiteab6741afec8f1d1b92c39c1f787a2ff69320be7 (patch)
treead5663f15cc3267e6557baf873e7df48fb52e89e /src/control
parentbikes in garages + bugfix (diff)
downloadre3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.tar
re3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.tar.gz
re3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.tar.bz2
re3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.tar.lz
re3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.tar.xz
re3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.tar.zst
re3-eab6741afec8f1d1b92c39c1f787a2ff69320be7.zip
Diffstat (limited to 'src/control')
-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);