remove pointless region handle paramter from IClientAPI.SendKillObject()

This commit is contained in:
Justin Clark-Casey (justincc)
2013-05-09 18:12:17 +01:00
parent 2cb2f1d7e3
commit 3290cd09d3
8 changed files with 11 additions and 14 deletions

View File

@@ -1588,7 +1588,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(pc, ThrottleOutPacketType.Unknown);
}
public void SendKillObject(ulong regionHandle, List<uint> localIDs)
public void SendKillObject(List<uint> localIDs)
{
// m_log.DebugFormat("[CLIENT]: Sending KillObjectPacket to {0} for {1} in {2}", Name, localID, regionHandle);
@@ -11555,8 +11555,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (part == null)
{
// It's a ghost! tell the client to delete it from view.
simClient.SendKillObject(Scene.RegionInfo.RegionHandle,
new List<uint> { localId });
simClient.SendKillObject(new List<uint> { localId });
}
else
{