diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-02-13 21:34:36 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-02-13 21:34:36 +0100 |
commit | 89be27734b6c51339cdb29b508954d990ac948c2 (patch) | |
tree | 105f2acb861a584446f6649ab6b087f02eddefd0 /src/peds/Ped.cpp | |
parent | Merge pull request #325 from erorcun/erorcun (diff) | |
download | re3-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 '')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
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; |