mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Merge pull request #3000 from akortunov/swish
Do not use swish sound for ranged weapons
This commit is contained in:
commit
c9f0e4b62a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue