Cancel stagger when random attack animations end

post_malone
Alexei Kotov 2 years ago
parent af12736baf
commit bd7ddada7b

@ -1697,6 +1697,8 @@ bool CharacterController::updateWeaponState()
else if(complete >= 1.0f && isRandomAttackAnimation(mCurrentWeapon))
{
clearStateAnimation(mCurrentWeapon);
if (isRecovery())
mAnimation->disable(mCurrentHit);
mUpperBodyState = UpperBodyState::WeaponEquipped;
}

Loading…
Cancel
Save