diff options
author | SignpostMarv | 2012-10-05 14:50:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-29 23:38:58 +0000 |
commit | 206a694c6baf9603855cc8eab50909e5e63b0f10 (patch) | |
tree | 1fe34e8e76ffcc7262a15cc81967be0cba606370 /OpenSim/Region/ScriptEngine | |
parent | documenting ISoundModule methods & fields (diff) | |
download | opensim-SC-206a694c6baf9603855cc8eab50909e5e63b0f10.zip opensim-SC-206a694c6baf9603855cc8eab50909e5e63b0f10.tar.gz opensim-SC-206a694c6baf9603855cc8eab50909e5e63b0f10.tar.bz2 opensim-SC-206a694c6baf9603855cc8eab50909e5e63b0f10.tar.xz |
moving comment for llStopSound inside the method block prior to transposition to sound module
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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) |