1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-25 06:25:51 +00:00

fixed police ignore bug

This commit is contained in:
Nikolay Korolev 2020-02-02 13:29:13 +03:00 committed by GitHub
parent 5fa16fe91a
commit bedf19c523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4404,7 +4404,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
CollectParameters(&m_nIp, 2);
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
assert(pPed);
if (ScriptParams[0]) {
if (ScriptParams[1]) {
pPed->m_pWanted->m_bIgnoredByCops = true;
CWorld::StopAllLawEnforcersInTheirTracks();
}