aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
index 68bd413..c163e86 100644
--- a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
+++ b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
@@ -204,8 +204,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
204 foreach (SceneObjectPart part in m_host.ParentGroup.LoopSoundSlavePrims) 204 foreach (SceneObjectPart part in m_host.ParentGroup.LoopSoundSlavePrims)
205 { 205 {
206 part.Sound = UUID.Zero; 206 part.Sound = UUID.Zero;
207 part.SoundGain = 0; 207 part.SoundFlags = 1 << 5;
208 part.SoundFlags = 0;
209 part.SoundRadius = 0; 208 part.SoundRadius = 0;
210 part.ScheduleFullUpdate(); 209 part.ScheduleFullUpdate();
211 part.SendFullUpdateToAllClients(); 210 part.SendFullUpdateToAllClients();
@@ -216,8 +215,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
216 else 215 else
217 { 216 {
218 m_host.Sound = UUID.Zero; 217 m_host.Sound = UUID.Zero;
219 m_host.SoundGain = 0; 218 m_host.SoundFlags = 1 << 5;
220 m_host.SoundFlags = 0;
221 m_host.SoundRadius = 0; 219 m_host.SoundRadius = 0;
222 m_host.ScheduleFullUpdate(); 220 m_host.ScheduleFullUpdate();
223 m_host.SendFullUpdateToAllClients(); 221 m_host.SendFullUpdateToAllClients();
@@ -226,8 +224,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
226 else 224 else
227 { 225 {
228 m_host.Sound = UUID.Zero; 226 m_host.Sound = UUID.Zero;
229 m_host.SoundGain = 0; 227 m_host.SoundFlags = 1 << 5;
230 m_host.SoundFlags = 0;
231 m_host.SoundRadius = 0; 228 m_host.SoundRadius = 0;
232 m_host.ScheduleFullUpdate(); 229 m_host.ScheduleFullUpdate();
233 m_host.SendFullUpdateToAllClients(); 230 m_host.SendFullUpdateToAllClients();