summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-13 21:34:36 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-13 21:34:36 +0100
commit89be27734b6c51339cdb29b508954d990ac948c2 (patch)
tree105f2acb861a584446f6649ab6b087f02eddefd0 /src/peds/Ped.cpp
parentMerge pull request #325 from erorcun/erorcun (diff)
downloadre3-89be27734b6c51339cdb29b508954d990ac948c2.tar
re3-89be27734b6c51339cdb29b508954d990ac948c2.tar.gz
re3-89be27734b6c51339cdb29b508954d990ac948c2.tar.bz2
re3-89be27734b6c51339cdb29b508954d990ac948c2.tar.lz
re3-89be27734b6c51339cdb29b508954d990ac948c2.tar.xz
re3-89be27734b6c51339cdb29b508954d990ac948c2.tar.zst
re3-89be27734b6c51339cdb29b508954d990ac948c2.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 543dae57..44aaae5b 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -4534,7 +4534,7 @@ CPed::SetEvasiveDive(CPhysical *reason, uint8 onlyRandomJump)
}
} else {
if (IsPlayer()) {
- ((CPlayerPed*)this)->m_bShouldEvade = 5;
+ ((CPlayerPed*)this)->m_nEvadeAmount = 5;
((CPlayerPed*)this)->m_pEvadingFrom = reason;
reason->RegisterReference((CEntity**) &((CPlayerPed*)this)->m_pEvadingFrom);
return;