From bdcc3a403611ada58c9a396b99160bd98a3c892c Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 31 Jan 2015 15:37:16 +0100 Subject: [PATCH] Add missing swish sound for thrown weapons --- apps/openmw/mwmechanics/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index 8d438c703..91b375714 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1126,7 +1126,7 @@ bool CharacterController::updateWeaponState() 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();