mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-24 22:43:47 +00:00
Merge branch 'cheaterrats' into 'master'
Don't stagger creatures in the middle of an attack (#8275) Closes #8275 See merge request OpenMW/openmw!4499
This commit is contained in:
commit
9f90349a09
@ -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…
x
Reference in New Issue
Block a user