aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/CollisionSounds.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
index 5d43027..130eb20 100644
--- a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
+++ b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
@@ -127,6 +127,8 @@ namespace OpenSim.Region.Framework.Scenes
127 127
128 public static void PartCollisionSound(SceneObjectPart part,List<uint> Colliders) 128 public static void PartCollisionSound(SceneObjectPart part,List<uint> Colliders)
129 { 129 {
130 return;
131
130 if(Colliders.Count == 0 || part == null) 132 if(Colliders.Count == 0 || part == null)
131 return; 133 return;
132 134
@@ -214,6 +216,8 @@ namespace OpenSim.Region.Framework.Scenes
214 216
215 public static void AvatarCollisionSound(ScenePresence av, List<uint> Colliders) 217 public static void AvatarCollisionSound(ScenePresence av, List<uint> Colliders)
216 { 218 {
219 return;
220
217 if (Colliders.Count == 0 || av == null) 221 if (Colliders.Count == 0 || av == null)
218 return; 222 return;
219 223
@@ -268,4 +272,4 @@ namespace OpenSim.Region.Framework.Scenes
268 } 272 }
269 273
270 } 274 }
271} \ No newline at end of file 275}