mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 04:45:36 +00:00
Cancel stagger when random attack animations end
This commit is contained in:
parent
af12736baf
commit
bd7ddada7b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue