mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 16:41:33 +00:00
Prevent a missing weapon animation from partially freezing actors
This commit is contained in:
parent
1e7b9fb6a5
commit
977f717f8b
1 changed files with 2 additions and 1 deletions
|
@ -1661,7 +1661,8 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
|
|||
MWRender::Animation::BlendMask_All, false,
|
||||
weapSpeed, startKey, stopKey,
|
||||
0.0f, 0);
|
||||
mUpperBodyState = UpperCharState_StartToMinAttack;
|
||||
if(mAnimation->isPlaying(mCurrentWeapon))
|
||||
mUpperBodyState = UpperCharState_StartToMinAttack;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue