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

This commit is contained in:
SignpostMarv
2012-10-05 14:50:31 +01:00
committed by Justin Clark-Casey (justincc)
parent b9e0f1cd2b
commit 206a694c6b

View File

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