mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-21 05:44:06 +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)
|
if (fx)
|
||||||
MWBase::Environment::get().getWorld()->spawnEffect("meshes\\" + fx->mModel,
|
MWBase::Environment::get().getWorld()->spawnEffect("meshes\\" + fx->mModel,
|
||||||
"", Ogre::Vector3(mCreature.getRefData().getPosition().pos));
|
"", 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