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 b038876..bd11cde 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4964,7 +4964,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4964 | 4964 | ||
4965 | pa.OnCollisionUpdate -= PhysicsCollision; | 4965 | pa.OnCollisionUpdate -= PhysicsCollision; |
4966 | 4966 | ||
4967 | bool hassound = (CollisionSoundType >= 0 && !VolumeDetectActive); | 4967 | bool hassound = (!VolumeDetectActive && CollisionSoundType >= 0 && ((Flags & PrimFlags.Physics) != 0)); |
4968 | 4968 | ||
4969 | scriptEvents CombinedEvents = AggregateScriptEvents; | 4969 | scriptEvents CombinedEvents = AggregateScriptEvents; |
4970 | 4970 | ||