moving comment for llStopSound inside the method block prior to transposition to sound module

integration
SignpostMarv 2012-10-05 14:50:31 +01:00 committed by Justin Clark-Casey (justincc)
parent b9e0f1cd2b
commit 206a694c6b
1 changed files with 1 additions and 1 deletions

View File

@ -2448,11 +2448,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.SendSound(KeyOrName(sound).ToString(), volume, true, 0, 0, false, false); m_host.SendSound(KeyOrName(sound).ToString(), volume, true, 0, 0, false, false);
} }
// Xantor 20080528: Clear prim data of sound instead
public void llStopSound() public void llStopSound()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
m_host.AdjustSoundGain(0); m_host.AdjustSoundGain(0);
// Xantor 20080528: Clear prim data of sound instead
if (m_host.ParentGroup.LoopSoundSlavePrims.Contains(m_host)) if (m_host.ParentGroup.LoopSoundSlavePrims.Contains(m_host))
{ {
if (m_host.ParentGroup.LoopSoundMasterPrim == m_host) if (m_host.ParentGroup.LoopSoundMasterPrim == m_host)