1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 00:06:42 +00:00

Do not use swish sound for ranged weapons

This commit is contained in:
Andrei Kortunov 2020-09-03 09:11:22 +04:00
parent 53e581fe10
commit f9ca08a984

View file

@ -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")