mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:53:52 +00:00
Fix code that stopped animation immediately after starting it, due to thinking it has completed (Fixes #1370)
This commit is contained in:
parent
0668019c86
commit
927ae00454
1 changed files with 2 additions and 0 deletions
|
@ -832,6 +832,8 @@ bool CharacterController::updateWeaponState()
|
|||
MWRender::Animation::Group_UpperBody, false,
|
||||
weapSpeed, mAttackType+" max attack", mAttackType+" min hit",
|
||||
1.0f-complete, 0);
|
||||
|
||||
complete = 0.f;
|
||||
mUpperBodyState = UpperCharState_MaxAttackToMinHit;
|
||||
}
|
||||
else if (mHitState == CharState_KnockDown)
|
||||
|
|
Loading…
Reference in a new issue