mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-02 17:06:42 +00:00
Do not use swish sound for ranged weapons
This commit is contained in:
parent
53e581fe10
commit
f9ca08a984
1 changed files with 3 additions and 1 deletions
|
@ -1788,6 +1788,8 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
|
||||||
mUpperBodyState = UpperCharState_MinAttackToMaxAttack;
|
mUpperBodyState = UpperCharState_MinAttackToMaxAttack;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(weapclass != ESM::WeaponType::Ranged && weapclass != ESM::WeaponType::Thrown)
|
||||||
playSwishSound(0.0f);
|
playSwishSound(0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue