From bedf19c5230d4513b822bbdd50b302d7e557b257 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 2 Feb 2020 13:29:13 +0300 Subject: fixed police ignore bug --- src/control/Script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 392dc918..25b6d27c 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -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(); } -- cgit v1.2.3