aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 1383ad9..da4f830 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -298,12 +298,13 @@ namespace OpenSim.Region.ClientStack
298 break; 298 break;
299 case PacketType.ObjectDuplicate: 299 case PacketType.ObjectDuplicate:
300 ObjectDuplicatePacket dupe = (ObjectDuplicatePacket) Pack; 300 ObjectDuplicatePacket dupe = (ObjectDuplicatePacket) Pack;
301 ObjectDuplicatePacket.AgentDataBlock AgentandGroupData = dupe.AgentData;
301 for (int i = 0; i < dupe.ObjectData.Length; i++) 302 for (int i = 0; i < dupe.ObjectData.Length; i++)
302 { 303 {
303 if (OnObjectDuplicate != null) 304 if (OnObjectDuplicate != null)
304 { 305 {
305 OnObjectDuplicate(dupe.ObjectData[i].ObjectLocalID, dupe.SharedData.Offset, 306 OnObjectDuplicate(dupe.ObjectData[i].ObjectLocalID, dupe.SharedData.Offset,
306 dupe.SharedData.DuplicateFlags); 307 dupe.SharedData.DuplicateFlags, AgentandGroupData.AgentID, AgentandGroupData.GroupID);
307 } 308 }
308 } 309 }
309 310