aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index bedcd85..7fa01c1 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2448,11 +2448,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2448 m_host.SendSound(KeyOrName(sound).ToString(), volume, true, 0, 0, false, false); 2448 m_host.SendSound(KeyOrName(sound).ToString(), volume, true, 0, 0, false, false);
2449 } 2449 }
2450 2450
2451 // Xantor 20080528: Clear prim data of sound instead
2452 public void llStopSound() 2451 public void llStopSound()
2453 { 2452 {
2454 m_host.AddScriptLPS(1); 2453 m_host.AddScriptLPS(1);
2455 m_host.AdjustSoundGain(0); 2454 m_host.AdjustSoundGain(0);
2455 // Xantor 20080528: Clear prim data of sound instead
2456 if (m_host.ParentGroup.LoopSoundSlavePrims.Contains(m_host)) 2456 if (m_host.ParentGroup.LoopSoundSlavePrims.Contains(m_host))
2457 { 2457 {
2458 if (m_host.ParentGroup.LoopSoundMasterPrim == m_host) 2458 if (m_host.ParentGroup.LoopSoundMasterPrim == m_host)