Only consider muting a sound as a gesture if it comes from an avatar. Fixes FIRE-1527.
parent
d039c9bdcd
commit
4363b0a1cd
|
|
@ -4812,7 +4812,8 @@ void process_sound_trigger(LLMessageSystem *msg, void **)
|
|||
// Don't play sounds from gestures if they are not enabled.
|
||||
// ...TS: Unless they're your own.
|
||||
if ((!gSavedSettings.getBOOL("EnableGestureSounds")) &&
|
||||
(owner_id != gAgent.getID())) return;
|
||||
(owner_id != gAgent.getID()) &&
|
||||
(owner_id == object_id)) return;
|
||||
|
||||
gAudiop->triggerSound(sound_id, owner_id, gain, LLAudioEngine::AUDIO_TYPE_SFX, pos_global);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue