mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-01-11 09:29:09 +01:00
Fix stuck looking flag when answering phone and idle weapon animation
This commit is contained in:
parent
1180f32d9c
commit
c0488b3190
@ -7291,6 +7291,9 @@ CPed::SetAnswerMobile(void)
|
||||
{
|
||||
if (m_nPedState != PED_ANSWER_MOBILE && !DyingOrDead()) {
|
||||
SetPedState(PED_ANSWER_MOBILE);
|
||||
#ifdef FIX_BUGS
|
||||
ClearLookFlag();
|
||||
#endif
|
||||
RemoveWeaponAnims(GetWeapon()->m_eWeaponType, -4.0f);
|
||||
CAnimBlendAssociation *assoc = CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, ANIM_STD_PHONE_IN, 4.0f);
|
||||
assoc->SetFinishCallback(StartTalkingOnMobileCB, this);
|
||||
@ -7298,6 +7301,9 @@ CPed::SetAnswerMobile(void)
|
||||
if (m_storedWeapon == WEAPONTYPE_UNIDENTIFIED)
|
||||
m_storedWeapon = GetWeapon()->m_eWeaponType;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
SetCurrentWeapon(0);
|
||||
#endif
|
||||
RemoveWeaponModel(-1);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user