summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:12 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:12 +0200
commit3cc20d7962c317aeb1e1e36e77ec270298b51cdb (patch)
treec6fcaef6b3271d8407530c826b92367a4e81ff17 /src/peds/CopPed.cpp
parentfull script basic support (diff)
parentMerge pull request #555 from erorcun/miami (diff)
downloadre3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.gz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.bz2
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.lz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.xz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.zst
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.zip
Diffstat (limited to 'src/peds/CopPed.cpp')
-rw-r--r--src/peds/CopPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp
index 1affb64d..578f2454 100644
--- a/src/peds/CopPed.cpp
+++ b/src/peds/CopPed.cpp
@@ -589,7 +589,7 @@ CCopPed::ProcessControl(void)
ArrestPlayer();
return;
}
- GetWeapon()->Update(m_audioEntityId);
+ GetWeapon()->Update(m_audioEntityId, nil);
if (m_moved.Magnitude() > 0.0f)
Avoid();