diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-02 11:29:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 11:29:13 +0100 |
commit | bedf19c5230d4513b822bbdd50b302d7e557b257 (patch) | |
tree | 4c3cd227ec12f3ffb19d8be7e45828a5c4e41b13 /src | |
parent | Merge pull request #319 from Nick007J/master (diff) | |
download | re3-bedf19c5230d4513b822bbdd50b302d7e557b257.tar re3-bedf19c5230d4513b822bbdd50b302d7e557b257.tar.gz re3-bedf19c5230d4513b822bbdd50b302d7e557b257.tar.bz2 re3-bedf19c5230d4513b822bbdd50b302d7e557b257.tar.lz re3-bedf19c5230d4513b822bbdd50b302d7e557b257.tar.xz re3-bedf19c5230d4513b822bbdd50b302d7e557b257.tar.zst re3-bedf19c5230d4513b822bbdd50b302d7e557b257.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |