Temprorarily disable collision sounds until we have some sound bites

avinationmerge
Melanie 2012-05-17 21:36:27 +02:00
parent 7652b3a957
commit 511fc663a2
1 changed files with 5 additions and 1 deletions

View File

@ -127,6 +127,8 @@ namespace OpenSim.Region.Framework.Scenes
public static void PartCollisionSound(SceneObjectPart part,List<uint> Colliders)
{
return;
if(Colliders.Count == 0 || part == null)
return;
@ -214,6 +216,8 @@ namespace OpenSim.Region.Framework.Scenes
public static void AvatarCollisionSound(ScenePresence av, List<uint> Colliders)
{
return;
if (Colliders.Count == 0 || av == null)
return;
@ -268,4 +272,4 @@ namespace OpenSim.Region.Framework.Scenes
}
}
}
}