mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 17:45:34 +00:00
Don't stagger creatures in the middle of an attack (#8275)
This commit is contained in:
parent
6ac0880cf3
commit
9b09ce53ef
1 changed files with 6 additions and 0 deletions
|
@ -403,6 +403,12 @@ namespace MWMechanics
|
|||
resetCurrentIdleState();
|
||||
}
|
||||
|
||||
if (!mPtr.getClass().isNpc() && mUpperBodyState > UpperBodyState::WeaponEquipped)
|
||||
{
|
||||
recovery = false;
|
||||
stats.setHitRecovery(false);
|
||||
}
|
||||
|
||||
if (mHitState != CharState_None)
|
||||
{
|
||||
if (!mAnimation->isPlaying(mCurrentHit))
|
||||
|
|
Loading…
Reference in a new issue