summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2020-11-11 11:36:10 +0100
committerGitHub <noreply@github.com>2020-11-11 11:36:10 +0100
commit984708dfd3629b49527117223aac0d1ed1bb7c97 (patch)
tree0f963c46979ce64f0999b843f8eac356e94cda06
parenturgh, merge and changes to RW layer in one commit. (diff)
downloadre3-984708dfd3629b49527117223aac0d1ed1bb7c97.tar
re3-984708dfd3629b49527117223aac0d1ed1bb7c97.tar.gz
re3-984708dfd3629b49527117223aac0d1ed1bb7c97.tar.bz2
re3-984708dfd3629b49527117223aac0d1ed1bb7c97.tar.lz
re3-984708dfd3629b49527117223aac0d1ed1bb7c97.tar.xz
re3-984708dfd3629b49527117223aac0d1ed1bb7c97.tar.zst
re3-984708dfd3629b49527117223aac0d1ed1bb7c97.zip
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 6aa314f2..10dee77d 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -11232,7 +11232,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
CollectParameters(&m_nIp, 2);
CPed* pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]);
script_assert(pPed);
- pPed->bNoCriticalHits = (ScriptParams[0] == 0);
+ pPed->bNoCriticalHits = (ScriptParams[1] == 0);
return 0;
}
/*