This commit is contained in:
Nikolay 2020-11-11 13:36:10 +03:00 committed by GitHub
parent 48d0653331
commit 984708dfd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
/*