diff options
Few small fixes
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index a50a3bd..401f500 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -290,24 +290,24 @@ namespace OpenSim.Region.ClientStack | |||
290 | } | 290 | } |
291 | break; | 291 | break; |
292 | case PacketType.ObjectGrab: | 292 | case PacketType.ObjectGrab: |
293 | ObjectGrabPacket grap = (ObjectGrabPacket)Pack; | 293 | ObjectGrabPacket grab = (ObjectGrabPacket)Pack; |
294 | if (OnGrapObject != null) | 294 | if (OnGrabObject != null) |
295 | { | 295 | { |
296 | OnGrapObject(grap.ObjectData.LocalID, grap.ObjectData.GrabOffset, this); | 296 | OnGrabObject(grab.ObjectData.LocalID, grab.ObjectData.GrabOffset, this); |
297 | } | 297 | } |
298 | break; | 298 | break; |
299 | case PacketType.ObjectGrabUpdate: | 299 | case PacketType.ObjectGrabUpdate: |
300 | ObjectGrabUpdatePacket grapUpdate = (ObjectGrabUpdatePacket)Pack; | 300 | ObjectGrabUpdatePacket grabUpdate = (ObjectGrabUpdatePacket)Pack; |
301 | if (OnGrapUpdate != null) | 301 | if (OnGrabUpdate != null) |
302 | { | 302 | { |
303 | OnGrapUpdate(grapUpdate.ObjectData.ObjectID, grapUpdate.ObjectData.GrabOffsetInitial, grapUpdate.ObjectData.GrabPosition, this); | 303 | OnGrabUpdate(grabUpdate.ObjectData.ObjectID, grabUpdate.ObjectData.GrabOffsetInitial, grabUpdate.ObjectData.GrabPosition, this); |
304 | } | 304 | } |
305 | break; | 305 | break; |
306 | case PacketType.ObjectDeGrab: | 306 | case PacketType.ObjectDeGrab: |
307 | ObjectDeGrabPacket deGrap = (ObjectDeGrabPacket)Pack; | 307 | ObjectDeGrabPacket deGrab = (ObjectDeGrabPacket)Pack; |
308 | if (OnDeGrapObject != null) | 308 | if (OnDeGrabObject != null) |
309 | { | 309 | { |
310 | OnDeGrapObject(deGrap.ObjectData.LocalID, this); | 310 | OnDeGrabObject(deGrab.ObjectData.LocalID, this); |
311 | } | 311 | } |
312 | break; | 312 | break; |
313 | case PacketType.ObjectDescription: | 313 | case PacketType.ObjectDescription: |