diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-07-25 17:06:24 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-07-25 22:37:50 +0200 |
commit | 8fd63e5ca6288e0f16c63fa9f378682b31dbaf88 (patch) | |
tree | 0351cb51adcacf2cdf0f006d23e2ce7bd8081e3c /src/control/Phones.cpp | |
parent | implemented CAutomobile::TankControl (diff) | |
download | re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.tar re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.tar.gz re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.tar.bz2 re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.tar.lz re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.tar.xz re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.tar.zst re3-8fd63e5ca6288e0f16c63fa9f378682b31dbaf88.zip |
Diffstat (limited to 'src/control/Phones.cpp')
-rw-r--r-- | src/control/Phones.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Phones.cpp b/src/control/Phones.cpp index 376e2757..499fa253 100644 --- a/src/control/Phones.cpp +++ b/src/control/Phones.cpp @@ -210,7 +210,7 @@ PhonePutDownCB(CAnimBlendAssociation *assoc, void *arg) CPed *ped = (CPed*)arg; if (assoc->blendAmount > 0.5f) - ped->m_ped_flagC10 = true; + ped->bUpdateAnimHeading = true; if (ped->m_nPedState == PED_MAKE_CALL) ped->m_nPedState = PED_IDLE; @@ -244,10 +244,10 @@ PhonePickUpCB(CAnimBlendAssociation *assoc, void *arg) CPed *ped = CPhoneInfo::pedWhoPickingUpPhone; ped->m_nMoveState = PEDMOVE_STILL; - CAnimManager::BlendAnimation((RpClump*)ped->m_rwObject, ASSOCGRP_STD, ANIM_IDLE_STANCE, 8.0f); + CAnimManager::BlendAnimation(ped->GetClump(), ASSOCGRP_STD, ANIM_IDLE_STANCE, 8.0f); if (assoc->blendAmount > 0.5f && ped) - CAnimManager::BlendAnimation((RpClump*)ped->m_rwObject, ASSOCGRP_STD, ANIM_PHONE_TALK, 8.0f); + CAnimManager::BlendAnimation(ped->GetClump(), ASSOCGRP_STD, ANIM_PHONE_TALK, 8.0f); CPhoneInfo::pedWhoPickingUpPhone = nil; } |