1
0
Fork 0
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:
scrawl 2014-06-06 21:15:23 +02:00
parent 0668019c86
commit 927ae00454

View file

@ -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)