diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-15 02:25:05 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-15 02:25:05 +0100 |
commit | ab3e258f19808641dde8940622d1fadb33ed18cb (patch) | |
tree | 0df30be50812691b8915e8c0653f12dd38886f6f /src/peds/Ped.cpp | |
parent | Fix language initialization call order (diff) | |
download | re3-ab3e258f19808641dde8940622d1fadb33ed18cb.tar re3-ab3e258f19808641dde8940622d1fadb33ed18cb.tar.gz re3-ab3e258f19808641dde8940622d1fadb33ed18cb.tar.bz2 re3-ab3e258f19808641dde8940622d1fadb33ed18cb.tar.lz re3-ab3e258f19808641dde8940622d1fadb33ed18cb.tar.xz re3-ab3e258f19808641dde8940622d1fadb33ed18cb.tar.zst re3-ab3e258f19808641dde8940622d1fadb33ed18cb.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 3c1fc552..1bf31a58 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -7070,7 +7070,7 @@ CPed::SetEvasiveDive(CPhysical *reason, uint8 onlyRandomJump) ClearLookFlag(); ClearAimFlag(); SetStoredState(); - m_nPedState = PED_DIVE_AWAY; + SetPedState(PED_DIVE_AWAY); animAssoc = CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, ANIM_EV_DIVE, 8.0f); animAssoc->SetFinishCallback(PedEvadeCB, this); } |