mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Fix weapon animation priority
This commit is contained in:
parent
41996b0aad
commit
dff84adf7e
@ -1052,7 +1052,7 @@ bool CharacterController::updateWeaponState()
|
||||
}
|
||||
|
||||
MWRender::Animation::AnimPriority priorityWeapon(Priority_Weapon);
|
||||
priorityWeapon.mPriority[MWRender::Animation::BoneGroup_LowerBody] = 0;
|
||||
priorityWeapon.mPriority[MWRender::Animation::BoneGroup_LowerBody] = Priority_WeaponLowerBody;
|
||||
|
||||
bool forcestateupdate = false;
|
||||
if(weaptype != mWeaponType && mHitState != CharState_KnockDown && mHitState != CharState_KnockOut
|
||||
|
@ -28,6 +28,7 @@ class CreatureStats;
|
||||
|
||||
enum Priority {
|
||||
Priority_Default,
|
||||
Priority_WeaponLowerBody,
|
||||
Priority_Jump,
|
||||
Priority_Movement,
|
||||
Priority_Hit,
|
||||
|
Loading…
x
Reference in New Issue
Block a user