forked from mirror/openmw-tes3mp
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,
|
MWRender::Animation::Group_UpperBody, false,
|
||||||
weapSpeed, mAttackType+" max attack", mAttackType+" min hit",
|
weapSpeed, mAttackType+" max attack", mAttackType+" min hit",
|
||||||
1.0f-complete, 0);
|
1.0f-complete, 0);
|
||||||
|
|
||||||
|
complete = 0.f;
|
||||||
mUpperBodyState = UpperCharState_MaxAttackToMinHit;
|
mUpperBodyState = UpperCharState_MaxAttackToMinHit;
|
||||||
}
|
}
|
||||||
else if (mHitState == CharState_KnockDown)
|
else if (mHitState == CharState_KnockDown)
|
||||||
|
|
Loading…
Reference in a new issue