remove some ischild tests

avinationmerge
UbitUmarov 2014-08-02 01:21:24 +01:00
parent e296f25445
commit bdac5058c8
1 changed files with 5 additions and 5 deletions

View File

@ -5362,7 +5362,7 @@ namespace OpenSim.Region.Framework.Scenes
{ // where private { // where private
foreach (ScenePresence p in allpresences) foreach (ScenePresence p in allpresences)
{ {
if (p.IsChildAgent || p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive)
continue; continue;
// those on not on parcel see me // those on not on parcel see me
@ -5377,7 +5377,7 @@ namespace OpenSim.Region.Framework.Scenes
{ // where public { // where public
foreach (ScenePresence p in allpresences) foreach (ScenePresence p in allpresences)
{ {
if (p.IsChildAgent || p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive)
continue; continue;
// those not on parcel dont see me // those not on parcel dont see me
@ -5402,7 +5402,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
foreach (ScenePresence p in allpresences) foreach (ScenePresence p in allpresences)
{ {
if (p.IsChildAgent || p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive)
continue; continue;
// only those on previus parcel need receive kills // only those on previus parcel need receive kills
@ -5426,7 +5426,7 @@ namespace OpenSim.Region.Framework.Scenes
foreach (ScenePresence p in allpresences) foreach (ScenePresence p in allpresences)
{ {
if (p.IsChildAgent || p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive)
continue; continue;
// those not on new parcel dont see me // those not on new parcel dont see me
@ -5453,7 +5453,7 @@ namespace OpenSim.Region.Framework.Scenes
foreach (ScenePresence p in allpresences) foreach (ScenePresence p in allpresences)
{ {
if (p.IsChildAgent || p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive)
continue; continue;
// only those old parcel need receive kills // only those old parcel need receive kills
if (previusParcelUUID == p.currentParcelUUID) if (previusParcelUUID == p.currentParcelUUID)