diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs index 03a60083a9..5d9ccc0765 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs @@ -184,8 +184,7 @@ namespace OpenSim.Framework effect.Duration = args[i].Duration; effect.ID = args[i].ID; effect.Type = args[i].Type; - // This should be the target object I think - Adam - effect.TypeData = new byte[0]; + effect.TypeData = args[i].TypeData; effectBlock.Add(effect); } packet.Effect = effectBlock.ToArray(); diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 60b49abdad..277eb88ab1 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -245,6 +245,7 @@ namespace OpenSim.Framework public float Duration; public LLUUID ID; public byte Type; + public byte[] TypeData; } public class LandUpdateArgs : EventArgs diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index aa27fdd317..51c71849cc 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -2930,6 +2930,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP argument.Duration = viewer.Effect[i].Duration; argument.ID = viewer.Effect[i].ID; argument.Type = viewer.Effect[i].Type; + argument.TypeData = viewer.Effect[i].TypeData; args.Add(argument); }