aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/CollisionSounds.cs4
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
index f87043e..63aafcd 100644
--- a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
+++ b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
@@ -129,7 +129,7 @@ namespace OpenSim.Region.Framework.Scenes
129 if (sog == null || sog.IsDeleted || sog.inTransit) 129 if (sog == null || sog.IsDeleted || sog.inTransit)
130 return; 130 return;
131 131
132 if(sog.CollisionSoundThrootled(part.CollisionSoundType)) 132 if(sog.CollisionSoundThrottled(part.CollisionSoundType))
133 return; 133 return;
134 134
135 float volume = part.CollisionSoundVolume; 135 float volume = part.CollisionSoundVolume;
@@ -206,7 +206,7 @@ namespace OpenSim.Region.Framework.Scenes
206 206
207 if (!HaveSound) 207 if (!HaveSound)
208 { 208 {
209 if(othersog.CollisionSoundThrootled(otherType)) 209 if(othersog.CollisionSoundThrottled(otherType))
210 continue; 210 continue;
211 211
212 if (otherType == 1) 212 if (otherType == 1)
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index bf915e0..c4b768b 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -5530,7 +5530,7 @@ namespace OpenSim.Region.Framework.Scenes
5530 } 5530 }
5531 } 5531 }
5532 5532
5533 public bool CollisionSoundThrootled(int collisionSoundType) 5533 public bool CollisionSoundThrottled(int collisionSoundType)
5534 { 5534 {
5535 double time = m_lastCollisionSoundMS; 5535 double time = m_lastCollisionSoundMS;
5536// m_lastCollisionSoundMS = Util.GetTimeStampMS(); 5536// m_lastCollisionSoundMS = Util.GetTimeStampMS();