dont mess with sound gain on stop

avinationmerge
UbitUmarov 2014-07-27 17:03:53 +01:00
parent 55df2b317c
commit f32bd24a2c
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
private static void StopSound(SceneObjectPart m_host) private static void StopSound(SceneObjectPart m_host)
{ {
m_host.AdjustSoundGain(0); // m_host.AdjustSoundGain(0);
m_host.Sound = UUID.Zero; m_host.Sound = UUID.Zero;
m_host.SoundFlags = (byte)SoundFlags.STOP; m_host.SoundFlags = (byte)SoundFlags.STOP;
m_host.SoundRadius = 0; m_host.SoundRadius = 0;