summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-12-26 23:15:27 +0100
committereray orçunus <erayorcunus@gmail.com>2019-12-28 21:05:49 +0100
commitbb5e31470da4e74695b18060c7c9947432cc4813 (patch)
tree3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/peds/Ped.cpp
parentMerge pull request #282 from erorcun/erorcun (diff)
downloadre3-bb5e31470da4e74695b18060c7c9947432cc4813.tar
re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.gz
re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.bz2
re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.lz
re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.xz
re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.zst
re3-bb5e31470da4e74695b18060c7c9947432cc4813.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 68372ee8..d1928c04 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -529,7 +529,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
bStillOnValidPoly = false;
m_ped_flagG2 = true;
- m_ped_flagG4 = false;
+ bResetWalkAnims = false;
bStartWanderPathOnFoot = false;
bOnBoat = false;
bBusJacked = false;
@@ -6856,7 +6856,7 @@ CPed::FinishJumpCB(CAnimBlendAssociation *animAssoc, void *arg)
{
CPed *ped = (CPed*)arg;
- ped->m_ped_flagG4 = true;
+ ped->bResetWalkAnims = true;
ped->bIsLanding = false;
animAssoc->blendDelta = -1000.0f;