diff --git a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs index f87043ea3b..63aafcd066 100644 --- a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs +++ b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs @@ -129,7 +129,7 @@ namespace OpenSim.Region.Framework.Scenes if (sog == null || sog.IsDeleted || sog.inTransit) return; - if(sog.CollisionSoundThrootled(part.CollisionSoundType)) + if(sog.CollisionSoundThrottled(part.CollisionSoundType)) return; float volume = part.CollisionSoundVolume; @@ -206,7 +206,7 @@ namespace OpenSim.Region.Framework.Scenes if (!HaveSound) { - if(othersog.CollisionSoundThrootled(otherType)) + if(othersog.CollisionSoundThrottled(otherType)) continue; if (otherType == 1) diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index bf915e000d..c4b768ba49 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -5530,7 +5530,7 @@ namespace OpenSim.Region.Framework.Scenes } } - public bool CollisionSoundThrootled(int collisionSoundType) + public bool CollisionSoundThrottled(int collisionSoundType) { double time = m_lastCollisionSoundMS; // m_lastCollisionSoundMS = Util.GetTimeStampMS();