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:
parent
78393bca30
commit
f91d639782
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue