aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4cb65d4..c65f933 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2844,7 +2844,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2844 m_SoundModule.SendSound( 2844 m_SoundModule.SendSound(
2845 m_host.UUID, 2845 m_host.UUID,
2846 ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound, AssetType.Sound), 2846 ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound, AssetType.Sound),
2847 volume, false, m_host.SoundQueueing ? (byte)SoundFlags.Queue : (byte)SoundFlags.None, 2847 volume, false, 0,
2848 0, false, false); 2848 0, false, false);
2849 } 2849 }
2850 } 2850 }
@@ -2855,7 +2855,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2855 if (m_SoundModule != null) 2855 if (m_SoundModule != null)
2856 { 2856 {
2857 m_SoundModule.LoopSound(m_host.UUID, ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound), 2857 m_SoundModule.LoopSound(m_host.UUID, ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound),
2858 volume, 20, false); 2858 volume, 20, false,false);
2859 } 2859 }
2860 } 2860 }
2861 2861
@@ -2865,16 +2865,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2865 if (m_SoundModule != null) 2865 if (m_SoundModule != null)
2866 { 2866 {
2867 m_SoundModule.LoopSound(m_host.UUID, ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound), 2867 m_SoundModule.LoopSound(m_host.UUID, ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound),
2868 volume, 20, true); 2868 volume, 20, true, false);
2869 } 2869 }
2870 } 2870 }
2871 2871
2872 public void llLoopSoundSlave(string sound, double volume) 2872 public void llLoopSoundSlave(string sound, double volume)
2873 { 2873 {
2874 m_host.AddScriptLPS(1); 2874 m_host.AddScriptLPS(1);
2875 lock (m_host.ParentGroup.LoopSoundSlavePrims) 2875 if (m_SoundModule != null)
2876 { 2876 {
2877 m_host.ParentGroup.LoopSoundSlavePrims.Add(m_host); 2877 m_SoundModule.LoopSound(m_host.UUID, ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, sound),
2878 volume, 20, false, true);
2878 } 2879 }
2879 } 2880 }
2880 2881