diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index def14c7..982ae50 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -233,6 +233,18 @@ namespace OpenSim.Region.ClientStack | |||
233 | } | 233 | } |
234 | } | 234 | } |
235 | break; | 235 | break; |
236 | case PacketType.ObjectDuplicate: | ||
237 | ObjectDuplicatePacket dupe = (ObjectDuplicatePacket)Pack; | ||
238 | for (int i = 0; i < dupe.ObjectData.Length; i++) | ||
239 | { | ||
240 | if (OnObjectDuplicate != null) | ||
241 | { | ||
242 | OnObjectDuplicate(dupe.ObjectData[i].ObjectLocalID, dupe.SharedData.Offset, dupe.SharedData.DuplicateFlags); | ||
243 | } | ||
244 | } | ||
245 | |||
246 | break; | ||
247 | |||
236 | case PacketType.ObjectSelect: | 248 | case PacketType.ObjectSelect: |
237 | ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack; | 249 | ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack; |
238 | for (int i = 0; i < incomingselect.ObjectData.Length; i++) | 250 | for (int i = 0; i < incomingselect.ObjectData.Length; i++) |