diff options
author | erorcun <erayorcunus@gmail.com> | 2020-02-13 21:40:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 21:40:59 +0100 |
commit | 04eac2a06cd2e9d7f042a051c3755625b2ea01ae (patch) | |
tree | 105f2acb861a584446f6649ab6b087f02eddefd0 /src/peds/Ped.cpp | |
parent | Merge pull request #325 from erorcun/erorcun (diff) | |
parent | a fix (diff) | |
download | re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.tar re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.tar.gz re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.tar.bz2 re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.tar.lz re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.tar.xz re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.tar.zst re3-04eac2a06cd2e9d7f042a051c3755625b2ea01ae.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-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; |