aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorTeravus Ovares2009-08-01 14:26:00 +0000
committerTeravus Ovares2009-08-01 14:26:00 +0000
commit4cbf0444df4b4c0eb3616e19279203e5f17a939b (patch)
tree7489d6f56865229d44ac9c689fb03a6353ffa934 /OpenSim/Region/CoreModules
parentAdd copyright header. Formatting cleanup. (diff)
downloadopensim-SC_OLD-4cbf0444df4b4c0eb3616e19279203e5f17a939b.zip
opensim-SC_OLD-4cbf0444df4b4c0eb3616e19279203e5f17a939b.tar.gz
opensim-SC_OLD-4cbf0444df4b4c0eb3616e19279203e5f17a939b.tar.bz2
opensim-SC_OLD-4cbf0444df4b4c0eb3616e19279203e5f17a939b.tar.xz
* Tweak the caps manager so that the NPCAvatar works again.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index e385ae0..4deb36e 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -581,7 +581,10 @@ namespace OpenSim.Region.CoreModules.World.Land
581 } 581 }
582 lock (m_landIDList) 582 lock (m_landIDList)
583 { 583 {
584 return m_landList[m_landIDList[x / 4, y / 4]]; 584 if (m_landList.ContainsKey(m_landIDList[x / 4, y / 4]))
585 return m_landList[m_landIDList[x / 4, y / 4]];
586 else
587 return null;
585 } 588 }
586 } 589 }
587 590