summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2020-11-11 13:36:10 +0300
committerGitHub <noreply@github.com>2020-11-11 13:36:10 +0300
commit984708dfd3629b49527117223aac0d1ed1bb7c97 (patch)
tree0f963c46979ce64f0999b843f8eac356e94cda06 /src
parent48d0653331c8b1debc9d985131c9ea31a0e0c97f (diff)
damn
Diffstat (limited to 'src')
-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;
}
/*