Prevent child agents from being blacklisted in the kill record.

viewer-2-initial-appearance
Melanie 2010-09-11 20:22:10 +01:00
parent d5c7a8d28c
commit 47a5e2633c
1 changed files with 6 additions and 3 deletions

View File

@ -1519,12 +1519,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
kill.Header.Reliable = true; kill.Header.Reliable = true;
kill.Header.Zerocoded = true; kill.Header.Zerocoded = true;
if (m_scene.GetScenePresence(localID) == null)
{
lock (m_entityUpdates.SyncRoot) lock (m_entityUpdates.SyncRoot)
{ {
m_killRecord.Add(localID); m_killRecord.Add(localID);
OutPacket(kill, ThrottleOutPacketType.State); OutPacket(kill, ThrottleOutPacketType.State);
} }
} }
}
/// <summary> /// <summary>
/// Send information about the items contained in a folder to the client. /// Send information about the items contained in a folder to the client.