diff options
author | UbitUmarov | 2014-08-21 05:00:51 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-21 05:00:51 +0100 |
commit | d2f3a19838f10363c77aaa537400a64d1b39a45e (patch) | |
tree | 54eef41467f0bcbe055affb2cefa45502d64beb0 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | test (diff) | |
download | opensim-SC-d2f3a19838f10363c77aaa537400a64d1b39a45e.zip opensim-SC-d2f3a19838f10363c77aaa537400a64d1b39a45e.tar.gz opensim-SC-d2f3a19838f10363c77aaa537400a64d1b39a45e.tar.bz2 opensim-SC-d2f3a19838f10363c77aaa537400a64d1b39a45e.tar.xz |
test
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index ebdf52f..ac77e2a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -5716,7 +5716,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5716 | private void ParcelLoginCheck(UUID currentParcelID) | 5716 | private void ParcelLoginCheck(UUID currentParcelID) |
5717 | { | 5717 | { |
5718 | List<ScenePresence> killsToSendto = new List<ScenePresence>(); | 5718 | List<ScenePresence> killsToSendto = new List<ScenePresence>(); |
5719 | List<uint> killsToSendme = new List<uint>(); | 5719 | List<ScenePresence> killsToSendme = new List<ScenePresence>(); |
5720 | List<ScenePresence> viewsToSendto = new List<ScenePresence>(); | 5720 | List<ScenePresence> viewsToSendto = new List<ScenePresence>(); |
5721 | List<ScenePresence> viewsToSendme = new List<ScenePresence>(); | 5721 | List<ScenePresence> viewsToSendme = new List<ScenePresence>(); |
5722 | List<ScenePresence> allpresences = null; | 5722 | List<ScenePresence> allpresences = null; |
@@ -5750,19 +5750,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
5750 | foreach (ScenePresence p in killsToSendto) | 5750 | foreach (ScenePresence p in killsToSendto) |
5751 | { | 5751 | { |
5752 | m_log.Debug("[AVATAR]: killTo: " + Lastname + " " + p.Lastname); | 5752 | m_log.Debug("[AVATAR]: killTo: " + Lastname + " " + p.Lastname); |
5753 | try { p.ControllingClient.SendKillObject(new List<uint> { LocalId }); } | 5753 | SendKillTo(p); |
5754 | catch (NullReferenceException) { } | 5754 | // try { p.ControllingClient.SendKillObject(new List<uint> { LocalId }); } |
5755 | // catch (NullReferenceException) { } | ||
5755 | } | 5756 | } |
5756 | } | 5757 | } |
5757 | 5758 | ||
5758 | if (killsToSendme.Count > 0) | 5759 | if (killsToSendme.Count > 0) |
5759 | { | 5760 | { |
5760 | m_log.Debug("[AVATAR]: killMe: " + Lastname + " " + killsToSendme.Count.ToString()); | 5761 | m_log.Debug("[AVATAR]: killMe: " + Lastname + " " + killsToSendme.Count.ToString()); |
5761 | try | 5762 | foreach (ScenePresence p in killsToSendme) |
5762 | { | 5763 | { |
5763 | ControllingClient.SendKillObject(killsToSendme); | 5764 | SendKillTo(this); |
5764 | } | 5765 | } |
5765 | catch (NullReferenceException) { } | ||
5766 | 5766 | ||
5767 | } | 5767 | } |
5768 | /* | 5768 | /* |