diff options
Deleting objects should now work. But beware they aren't send to your trash folder or anything so there is at the moment no way to recover deleted objects.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 2733f0a..4b0352b 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -506,12 +506,12 @@ namespace OpenSim.Region.ClientStack | |||
506 | OutPacket(pc); | 506 | OutPacket(pc); |
507 | } | 507 | } |
508 | 508 | ||
509 | public void SendKillObject(ulong regionHandle, uint avatarLocalID) | 509 | public void SendKillObject(ulong regionHandle, uint localID) |
510 | { | 510 | { |
511 | KillObjectPacket kill = new KillObjectPacket(); | 511 | KillObjectPacket kill = new KillObjectPacket(); |
512 | kill.ObjectData = new KillObjectPacket.ObjectDataBlock[1]; | 512 | kill.ObjectData = new KillObjectPacket.ObjectDataBlock[1]; |
513 | kill.ObjectData[0] = new KillObjectPacket.ObjectDataBlock(); | 513 | kill.ObjectData[0] = new KillObjectPacket.ObjectDataBlock(); |
514 | kill.ObjectData[0].ID = avatarLocalID; | 514 | kill.ObjectData[0].ID = localID; |
515 | OutPacket(kill); | 515 | OutPacket(kill); |
516 | } | 516 | } |
517 | 517 | ||