Merge branch 'hit_me_with_your_big_club' into 'master'

Allow Rieklings and Goblins to attack again

Closes #6243

See merge request OpenMW/openmw!1174
pull/3097/head
Alexei Dobrohotov 3 years ago
commit 4f99c060c3

@ -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;
}
}

Loading…
Cancel
Save