Skip to content

Commit 9b09ce5

Browse files
committed
Don't stagger creatures in the middle of an attack (#8275)
1 parent 6ac0880 commit 9b09ce5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/openmw/mwmechanics/character.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,12 @@ namespace MWMechanics
403403
resetCurrentIdleState();
404404
}
405405

406+
if (!mPtr.getClass().isNpc() && mUpperBodyState > UpperBodyState::WeaponEquipped)
407+
{
408+
recovery = false;
409+
stats.setHitRecovery(false);
410+
}
411+
406412
if (mHitState != CharState_None)
407413
{
408414
if (!mAnimation->isPlaying(mCurrentHit))

0 commit comments

Comments
 (0)