mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
let llPlaySound() in HUDs send sound to owner without parcel restriction
This commit is contained in:
@@ -145,15 +145,15 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp))
|
||||
return;
|
||||
|
||||
if (!ssp.ParcelAllowThisAvatarSounds)
|
||||
return;
|
||||
|
||||
if (grp.HasPrivateAttachmentPoint)
|
||||
{
|
||||
ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
|
||||
ownerID, (float)gain, flags);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ssp.ParcelAllowThisAvatarSounds)
|
||||
return;
|
||||
}
|
||||
|
||||
m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)
|
||||
|
||||
Reference in New Issue
Block a user