1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-20 23:39:43 +00:00

Add missing soul trap sound (Fixes #1855)

This commit is contained in:
scrawl 2014-08-28 16:30:42 +02:00
parent 78393bca30
commit f91d639782

View file

@ -254,6 +254,9 @@ namespace MWMechanics
if (fx)
MWBase::Environment::get().getWorld()->spawnEffect("meshes\\" + fx->mModel,
"", Ogre::Vector3(mCreature.getRefData().getPosition().pos));
MWBase::Environment::get().getSoundManager()->playSound3D(mCreature, "conjuration hit", 1.f, 1.f,
MWBase::SoundManager::Play_TypeSfx, MWBase::SoundManager::Play_NoTrack);
}
};