mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-23 10:20:48 +00:00
Don't stagger creatures in the middle of an attack (#8275)
This commit is contained in:
parent
6ac0880cf3
commit
9b09ce53ef
@ -403,6 +403,12 @@ namespace MWMechanics
|
|||||||
resetCurrentIdleState();
|
resetCurrentIdleState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!mPtr.getClass().isNpc() && mUpperBodyState > UpperBodyState::WeaponEquipped)
|
||||||
|
{
|
||||||
|
recovery = false;
|
||||||
|
stats.setHitRecovery(false);
|
||||||
|
}
|
||||||
|
|
||||||
if (mHitState != CharState_None)
|
if (mHitState != CharState_None)
|
||||||
{
|
{
|
||||||
if (!mAnimation->isPlaying(mCurrentHit))
|
if (!mAnimation->isPlaying(mCurrentHit))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user