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.

This commit is contained in:
MW
2007-07-29 13:05:57 +00:00
parent 8b3981f1fd
commit 5ee2e38c11
11 changed files with 247 additions and 204 deletions

View File

@@ -506,12 +506,12 @@ namespace OpenSim.Region.ClientStack
OutPacket(pc);
}
public void SendKillObject(ulong regionHandle, uint avatarLocalID)
public void SendKillObject(ulong regionHandle, uint localID)
{
KillObjectPacket kill = new KillObjectPacket();
kill.ObjectData = new KillObjectPacket.ObjectDataBlock[1];
kill.ObjectData[0] = new KillObjectPacket.ObjectDataBlock();
kill.ObjectData[0].ID = avatarLocalID;
kill.ObjectData[0].ID = localID;
OutPacket(kill);
}