Reset attackStrength when starting a new attack (Fixes #3935)

This commit is contained in:
scrawl 2017-09-16 23:04:54 +00:00
parent f24b807edc
commit f594eda574

View file

@ -1216,6 +1216,7 @@ bool CharacterController::updateWeaponState()
if(mUpperBodyState == UpperCharState_WeapEquiped && (mHitState == CharState_None || mHitState == CharState_Block))
{
MWBase::Environment::get().getWorld()->breakInvisibility(mPtr);
mAttackStrength = 0;
if(mWeaponType == WeapType_Spell)
{
// Unset casting flag, otherwise pressing the mouse button down would