mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00:00
Add missing swish sound for thrown weapons
This commit is contained in:
parent
326eaea8a6
commit
bdcc3a4036
1 changed files with 1 additions and 1 deletions
|
@ -1126,7 +1126,7 @@ bool CharacterController::updateWeaponState()
|
||||||
attackStrength = std::min(1.f, 0.1f + std::rand() / float(RAND_MAX));
|
attackStrength = std::min(1.f, 0.1f + std::rand() / float(RAND_MAX));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mAttackType != "shoot")
|
if(mWeaponType != WeapType_Crossbow && mWeaponType != WeapType_BowAndArrow)
|
||||||
{
|
{
|
||||||
MWBase::SoundManager *sndMgr = MWBase::Environment::get().getSoundManager();
|
MWBase::SoundManager *sndMgr = MWBase::Environment::get().getSoundManager();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue