diff options
author | UbitUmarov | 2016-08-05 15:57:30 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-05 15:57:30 +0100 |
commit | e9660d5d05bb539a1ce292eea589ba83f28d391d (patch) | |
tree | dca55de84d7bada56ac5c317a290c82e0d4f3a51 | |
parent | use group provided by viewer on Object rez from inventory (diff) | |
download | opensim-SC_OLD-e9660d5d05bb539a1ce292eea589ba83f28d391d.zip opensim-SC_OLD-e9660d5d05bb539a1ce292eea589ba83f28d391d.tar.gz opensim-SC_OLD-e9660d5d05bb539a1ce292eea589ba83f28d391d.tar.bz2 opensim-SC_OLD-e9660d5d05bb539a1ce292eea589ba83f28d391d.tar.xz |
fix parcel Avatar Sounds using group membership not active group
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 3a79376..3d8aad7 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -224,7 +224,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
224 | return true; | 224 | return true; |
225 | if (!land.LandData.GroupAVSounds) | 225 | if (!land.LandData.GroupAVSounds) |
226 | return false; | 226 | return false; |
227 | return land.LandData.GroupID == ControllingClient.ActiveGroupId; | 227 | return ControllingClient.IsGroupMember(land.LandData.GroupID); |
228 | } | 228 | } |
229 | } | 229 | } |
230 | catch | 230 | catch |