mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-26 06:40:22 +00:00
Prevent a missing weapon animation from partially freezing actors
This commit is contained in:
parent
1e7b9fb6a5
commit
977f717f8b
@ -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…
x
Reference in New Issue
Block a user