summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-11 14:42:12 +0100
committeraap <aap@papnet.eu>2020-11-11 14:42:12 +0100
commit79432dce20ec10a500b1d58aa395129e6b70a419 (patch)
tree904796dfa1ff07f730320f9109ceabd8675f24bf /src
parentped fix for new renderer (diff)
parentdamn (diff)
downloadre3-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 '')
-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;
}
/*