1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 01:45:33 +00:00

Add missing swish sound for thrown weapons

This commit is contained in:
scrawl 2015-01-31 15:37:16 +01:00
parent 326eaea8a6
commit bdcc3a4036

View file

@ -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();