mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
For hit state, cancel non-biped idle if there is an active animation
This commit is contained in:
parent
152bdb2f65
commit
fa7991fcb3
@ -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…
x
Reference in New Issue
Block a user