aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-09-11 20:22:10 +0100
committerMelanie2010-09-11 20:24:14 +0100
commit47a5e2633c4a5cb5e0e89e4b8ffc42bf5996c4e6 (patch)
tree2e17c6253348f7f7dfbcac41b4fdd429e6e365e5
parentAll these files want to be committed. All white space junk. grr. (diff)
downloadopensim-SC_OLD-47a5e2633c4a5cb5e0e89e4b8ffc42bf5996c4e6.zip
opensim-SC_OLD-47a5e2633c4a5cb5e0e89e4b8ffc42bf5996c4e6.tar.gz
opensim-SC_OLD-47a5e2633c4a5cb5e0e89e4b8ffc42bf5996c4e6.tar.bz2
opensim-SC_OLD-47a5e2633c4a5cb5e0e89e4b8ffc42bf5996c4e6.tar.xz
Prevent child agents from being blacklisted in the kill record.
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index cdf8cb1..a6315a9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -1519,10 +1519,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1519 kill.Header.Reliable = true; 1519 kill.Header.Reliable = true;
1520 kill.Header.Zerocoded = true; 1520 kill.Header.Zerocoded = true;
1521 1521
1522 lock (m_entityUpdates.SyncRoot) 1522 if (m_scene.GetScenePresence(localID) == null)
1523 { 1523 {
1524 m_killRecord.Add(localID); 1524 lock (m_entityUpdates.SyncRoot)
1525 OutPacket(kill, ThrottleOutPacketType.State); 1525 {
1526 m_killRecord.Add(localID);
1527 OutPacket(kill, ThrottleOutPacketType.State);
1528 }
1526 } 1529 }
1527 } 1530 }
1528 1531