summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2020-11-11 11:36:10 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-11 11:40:11 +0100
commita76c6b230757df63ea77a4007b715a08b8025ea2 (patch)
tree58bca296bc4630ca1ee1438694e56894b45deab3 /src/control/Script.cpp
parentUpdate src/control/Pickups.cpp (diff)
downloadre3-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 'src/control/Script.cpp')
-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;
}
/*