From 2a2ef42e64e202c81762adf0cc0e4cb1393f71ef Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 24 Apr 2008 12:27:24 +0000 Subject: replace hard tabs with 4 spaces to be consistant in the source. Please adjust your editors to not use hard tabs. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 099d0f0..0608fa7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -97,7 +97,7 @@ namespace OpenSim.Region.Environment.Scenes public uint Category; // TODO: This needs to be persisted in next XML version update! - [XmlIgnore] public int[] PayPrice = {0,0,0,0,0}; + [XmlIgnore] public int[] PayPrice = {0,0,0,0,0}; [XmlIgnore] public bool m_IsAttachment = false; @@ -2038,18 +2038,18 @@ namespace OpenSim.Region.Environment.Scenes } } - if(soundID == LLUUID.Zero) - return; + if(soundID == LLUUID.Zero) + return; List avatarts = m_parentGroup.Scene.GetAvatars(); foreach (ScenePresence p in avatarts) { - double dis=Util.GetDistanceTo(p.AbsolutePosition, position); - if(dis > 100.0) // Max audio distance - continue; + double dis=Util.GetDistanceTo(p.AbsolutePosition, position); + if(dis > 100.0) // Max audio distance + continue; - // Scale by distance - volume*=((100.0-dis)/100.0); + // Scale by distance + volume*=((100.0-dis)/100.0); if (triggered) { -- cgit v1.1