mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 05:39:42 +00:00
For hit state, cancel non-biped idle if there is an active animation
This commit is contained in:
parent
152bdb2f65
commit
fa7991fcb3
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ namespace MWMechanics
|
|||
// FIXME: if one of the below states is close to their last animation frame (i.e. will be disabled in the coming
|
||||
// update), the idle animation should be displayed
|
||||
if (((mUpperBodyState != UpperBodyState::None && mUpperBodyState != UpperBodyState::WeaponEquipped)
|
||||
|| mMovementState != CharState_None || mHitState != CharState_None)
|
||||
|| mMovementState != CharState_None || !mCurrentHit.empty())
|
||||
&& !mPtr.getClass().isBipedal(mPtr))
|
||||
{
|
||||
resetCurrentIdleState();
|
||||
|
|
Loading…
Reference in a new issue