diff options
author | aap <aap@papnet.eu> | 2020-11-11 14:42:12 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-11 14:42:12 +0100 |
commit | 79432dce20ec10a500b1d58aa395129e6b70a419 (patch) | |
tree | 904796dfa1ff07f730320f9109ceabd8675f24bf /src/control/Script.cpp | |
parent | ped fix for new renderer (diff) | |
parent | damn (diff) | |
download | re3-79432dce20ec10a500b1d58aa395129e6b70a419.tar re3-79432dce20ec10a500b1d58aa395129e6b70a419.tar.gz re3-79432dce20ec10a500b1d58aa395129e6b70a419.tar.bz2 re3-79432dce20ec10a500b1d58aa395129e6b70a419.tar.lz re3-79432dce20ec10a500b1d58aa395129e6b70a419.tar.xz re3-79432dce20ec10a500b1d58aa395129e6b70a419.tar.zst re3-79432dce20ec10a500b1d58aa395129e6b70a419.zip |
Diffstat (limited to 'src/control/Script.cpp')
-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; } /* |