This commit is contained in:
Nikolay 2020-11-11 13:36:10 +03:00 committed by Nikolay Korolev
parent a8b5303207
commit a76c6b2307

View file

@ -11232,7 +11232,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
CollectParameters(&m_nIp, 2); CollectParameters(&m_nIp, 2);
CPed* pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]); CPed* pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]);
script_assert(pPed); script_assert(pPed);
pPed->bNoCriticalHits = (ScriptParams[0] == 0); pPed->bNoCriticalHits = (ScriptParams[1] == 0);
return 0; return 0;
} }
/* /*