aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-07 20:30:51 +0000
committerMelanie Thielker2017-01-07 20:30:51 +0000
commit6d44ee90991e1594d2072a5016d1b3b767220140 (patch)
tree75a741b5a2e7aa446488a8eb8ed296459cb097aa /OpenSim/Region/CoreModules/World/Land
parentignore teleport flag GodLike. Perform checks acording to agent static (diff)
downloadopensim-SC-6d44ee90991e1594d2072a5016d1b3b767220140.zip
opensim-SC-6d44ee90991e1594d2072a5016d1b3b767220140.tar.gz
opensim-SC-6d44ee90991e1594d2072a5016d1b3b767220140.tar.bz2
opensim-SC-6d44ee90991e1594d2072a5016d1b3b767220140.tar.xz
Change improperly named isNPC to be IsNPC as a property should be uppercase
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 0122f47..5d12f8b 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1285,7 +1285,7 @@ namespace OpenSim.Region.CoreModules.World.Land
1285 UUID parcelID = land.LandData.GlobalID; 1285 UUID parcelID = land.LandData.GlobalID;
1286 m_scene.ForEachScenePresence(delegate(ScenePresence avatar) 1286 m_scene.ForEachScenePresence(delegate(ScenePresence avatar)
1287 { 1287 {
1288 if (avatar.IsDeleted || avatar.isNPC) 1288 if (avatar.IsDeleted || avatar.IsNPC)
1289 return; 1289 return;
1290 1290
1291 IClientAPI client = avatar.ControllingClient; 1291 IClientAPI client = avatar.ControllingClient;
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index fc2282d..73b4cb5 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -718,7 +718,7 @@ namespace OpenSim.Region.CoreModules.World.Land
718 if (!m_scene.TryGetScenePresence(avatar, out sp)) 718 if (!m_scene.TryGetScenePresence(avatar, out sp))
719 return true; 719 return true;
720 720
721 if(sp==null || !sp.isNPC) 721 if(sp==null || !sp.IsNPC)
722 return true; 722 return true;
723 723
724 INPC npccli = (INPC)sp.ControllingClient; 724 INPC npccli = (INPC)sp.ControllingClient;