diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-11-11 13:36:10 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-11 13:40:11 +0300 |
commit | a76c6b230757df63ea77a4007b715a08b8025ea2 (patch) | |
tree | 58bca296bc4630ca1ee1438694e56894b45deab3 | |
parent | a8b530320738516aaf7c3b06faa495afbf36b430 (diff) |
damn
-rw-r--r-- | src/control/Script.cpp | 2 |
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; } /* |