diff options
author | Melanie Thielker | 2017-01-07 20:30:51 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-07 20:30:51 +0000 |
commit | 6d44ee90991e1594d2072a5016d1b3b767220140 (patch) | |
tree | 75a741b5a2e7aa446488a8eb8ed296459cb097aa /OpenSim/Region/CoreModules/World/Land | |
parent | ignore teleport flag GodLike. Perform checks acording to agent static (diff) | |
download | opensim-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.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
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; |