diff options
author | erorcun <erayorcunus@gmail.com> | 2019-12-28 21:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-28 21:12:39 +0100 |
commit | ebeb09b00931c832ca836c3faf26d35bea70c09f (patch) | |
tree | 3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/peds/Ped.cpp | |
parent | Merge pull request #282 from erorcun/erorcun (diff) | |
parent | CPlayerPed & fixes (diff) | |
download | re3-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.cpp | 4 |
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; |