From a9847c9453696a16ffb96b8d88d7699f126cf82f Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 9 Sep 2014 00:27:25 +0200 Subject: [PATCH] Fix creature attacking flag not being reset after the attack starts (Fixes #1889) --- apps/openmw/mwmechanics/character.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index d856b7389..c9e0f6759 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -716,6 +716,7 @@ bool CharacterController::updateCreatureState() 0.0f, 0); mUpperBodyState = UpperCharState_StartToMinAttack; } + stats.setAttackingOrSpell(false); } bool animPlaying = mAnimation->getInfo(mCurrentWeapon);