diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 969d946..3c44c5f 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4976,10 +4976,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4976 | { | 4976 | { |
4977 | OSD message_body = updateMessage.Serialize(); | 4977 | OSD message_body = updateMessage.Serialize(); |
4978 | // Add new fields here until OMV has them | 4978 | // Add new fields here until OMV has them |
4979 | OSDMap parcelData = (OSDMap)message_body; | 4979 | OSDMap bodyMap = (OSDMap)message_body; |
4980 | parcelData["SeeAVs"] = OSD.FromBoolean(true); | 4980 | OSDArray parcelDataArray = (OSDArray)bodyMap["ParcelData"]; |
4981 | parcelData["AnyAVSounds"] = OSD.FromBoolean(true); | 4981 | OSDMap parcelData = (OSDMap)parcelDataArray[0]; |
4982 | parcelData["GroupAVSounds"] = OSD.FromBoolean(true); | 4982 | parcelData["SeeAVs"] = OSD.FromBoolean(landData.SeeAVs); |
4983 | parcelData["AnyAVSounds"] = OSD.FromBoolean(landData.AnyAVSounds); | ||
4984 | parcelData["GroupAVSounds"] = OSD.FromBoolean(landData.GroupAVSounds); | ||
4983 | OSDMap message = new OSDMap(); | 4985 | OSDMap message = new OSDMap(); |
4984 | message.Add("message", OSD.FromString("ParcelProperties")); | 4986 | message.Add("message", OSD.FromString("ParcelProperties")); |
4985 | message.Add("body", message_body); | 4987 | message.Add("body", message_body); |