diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 16a8588..735bd32 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4917,7 +4917,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4917 | 4917 | ||
4918 | pa.OnCollisionUpdate -= PhysicsCollision; | 4918 | pa.OnCollisionUpdate -= PhysicsCollision; |
4919 | 4919 | ||
4920 | bool hassound = (CollisionSoundType >= 0 && !VolumeDetectActive); | 4920 | bool hassound = (!VolumeDetectActive && CollisionSoundType >= 0 && ((Flags & PrimFlags.Physics) != 0)); |
4921 | 4921 | ||
4922 | scriptEvents CombinedEvents = AggregateScriptEvents; | 4922 | scriptEvents CombinedEvents = AggregateScriptEvents; |
4923 | 4923 | ||