mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-16 08:42:23 +00:00
Cancel stagger when random attack animations end
This commit is contained in:
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…
x
Reference in New Issue
Block a user