diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-11-11 11:36:10 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-11 11:40:11 +0100 |
commit | a76c6b230757df63ea77a4007b715a08b8025ea2 (patch) | |
tree | 58bca296bc4630ca1ee1438694e56894b45deab3 | |
parent | Update src/control/Pickups.cpp (diff) | |
download | re3-a76c6b230757df63ea77a4007b715a08b8025ea2.tar re3-a76c6b230757df63ea77a4007b715a08b8025ea2.tar.gz re3-a76c6b230757df63ea77a4007b715a08b8025ea2.tar.bz2 re3-a76c6b230757df63ea77a4007b715a08b8025ea2.tar.lz re3-a76c6b230757df63ea77a4007b715a08b8025ea2.tar.xz re3-a76c6b230757df63ea77a4007b715a08b8025ea2.tar.zst re3-a76c6b230757df63ea77a4007b715a08b8025ea2.zip |
Diffstat (limited to '')
-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; } /* |