summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-15 04:11:45 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-15 04:11:45 +0100
commit8f2abc675035f1c864308e77b78906d4f6bedd24 (patch)
tree16ea2aa95ac68dc75cc237749780200c110c457f /src/peds/CopPed.cpp
parentUse SetMoveState (diff)
downloadre3-8f2abc675035f1c864308e77b78906d4f6bedd24.tar
re3-8f2abc675035f1c864308e77b78906d4f6bedd24.tar.gz
re3-8f2abc675035f1c864308e77b78906d4f6bedd24.tar.bz2
re3-8f2abc675035f1c864308e77b78906d4f6bedd24.tar.lz
re3-8f2abc675035f1c864308e77b78906d4f6bedd24.tar.xz
re3-8f2abc675035f1c864308e77b78906d4f6bedd24.tar.zst
re3-8f2abc675035f1c864308e77b78906d4f6bedd24.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 5f5a80b1..9684794a 100644
--- a/src/peds/CopPed.cpp
+++ b/src/peds/CopPed.cpp
@@ -249,7 +249,7 @@ CCopPed::ArrestPlayer(void)
CPed *suspect = (CPed*)m_pSeekTarget;
if (suspect) {
if (suspect->CanSetPedState())
- SetPedState(PED_ARRESTED);
+ suspect->SetPedState(PED_ARRESTED);
if (suspect->bInVehicle && m_pMyVehicle && suspect->m_pMyVehicle == m_pMyVehicle) {