From b4486992f02757b871a3a469c1ba0b04485803bd Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Sat, 28 Aug 2021 10:45:00 +0200 Subject: [PATCH] Allow Rieklings and Goblins to attack again --- apps/openmw/mwmechanics/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index 62c130b36e..ed26e2b9a4 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1653,7 +1653,7 @@ bool CharacterController::updateWeaponState(CharacterState& idle) MWRender::Animation::BlendMask_All, false, weapSpeed, startKey, stopKey, 0.0f, 0); - if(mAnimation->isPlaying(mCurrentWeapon)) + if(mAnimation->getCurrentTime(mCurrentWeapon) != -1.f) mUpperBodyState = UpperCharState_StartToMinAttack; } }