mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-11 06:40:34 +00:00
Make lockpick and probe sounds 3d positional
This commit is contained in:
parent
249918612d
commit
cabe038a97
@ -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…
x
Reference in New Issue
Block a user