mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
Merge pull request #3000 from akortunov/swish
Do not use swish sound for ranged weapons
This commit is contained in:
commit
c9f0e4b62a
@ -1788,7 +1788,9 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
|
||||
mUpperBodyState = UpperCharState_MinAttackToMaxAttack;
|
||||
break;
|
||||
}
|
||||
playSwishSound(0.0f);
|
||||
|
||||
if(weapclass != ESM::WeaponType::Ranged && weapclass != ESM::WeaponType::Thrown)
|
||||
playSwishSound(0.0f);
|
||||
}
|
||||
|
||||
if(mAttackType == "shoot")
|
||||
|
Loading…
x
Reference in New Issue
Block a user