summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-12-28 21:12:39 +0100
committerGitHub <noreply@github.com>2019-12-28 21:12:39 +0100
commitebeb09b00931c832ca836c3faf26d35bea70c09f (patch)
tree3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/peds/Ped.cpp
parentMerge pull request #282 from erorcun/erorcun (diff)
parentCPlayerPed & fixes (diff)
downloadre3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.gz
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.bz2
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.lz
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.xz
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.zst
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-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;