aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Sound/SoundModule.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs
index a8cb5cc..45f3ccf 100644
--- a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs
+++ b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs
@@ -145,15 +145,15 @@ namespace OpenSim.Region.CoreModules.World.Sound
145 if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp)) 145 if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp))
146 return; 146 return;
147 147
148 if (!ssp.ParcelAllowThisAvatarSounds)
149 return;
150
151 if (grp.HasPrivateAttachmentPoint) 148 if (grp.HasPrivateAttachmentPoint)
152 { 149 {
153 ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID, 150 ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
154 ownerID, (float)gain, flags); 151 ownerID, (float)gain, flags);
155 return; 152 return;
156 } 153 }
154
155 if (!ssp.ParcelAllowThisAvatarSounds)
156 return;
157 } 157 }
158 158
159 m_scene.ForEachRootScenePresence(delegate(ScenePresence sp) 159 m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)