forked from teamnwah/openmw-tes3coop
Make lockpick and probe sounds 3d positional
This commit is contained in:
parent
249918612d
commit
cabe038a97
1 changed files with 3 additions and 1 deletions
|
@ -1305,7 +1305,9 @@ bool CharacterController::updateWeaponState()
|
|||
if(!resultMessage.empty())
|
||||
MWBase::Environment::get().getWindowManager()->messageBox(resultMessage);
|
||||
if(!resultSound.empty())
|
||||
MWBase::Environment::get().getSoundManager()->playSound(resultSound, 1.0f, 1.0f);
|
||||
MWBase::Environment::get().getSoundManager()->playSound3D(target,
|
||||
resultSound, 1.0f, 1.0f, MWBase::SoundManager::Play_TypeSfx,
|
||||
MWBase::SoundManager::Play_Normal);
|
||||
}
|
||||
else if (ammunition)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue