1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-01 02:15:32 +00:00

Merge pull request #3000 from akortunov/swish

Do not use swish sound for ranged weapons
This commit is contained in:
Andrei Kortunov 2020-09-04 13:48:09 +04:00 committed by GitHub
commit c9f0e4b62a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1788,6 +1788,8 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
mUpperBodyState = UpperCharState_MinAttackToMaxAttack;
break;
}
if(weapclass != ESM::WeaponType::Ranged && weapclass != ESM::WeaponType::Thrown)
playSwishSound(0.0f);
}