aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land
diff options
context:
space:
mode:
authorMelanie2011-01-29 04:51:11 +0000
committerMelanie2011-01-29 04:51:11 +0000
commitc14acf8a06efea404ce3360860175d2cea1bc5c9 (patch)
treeef70b584340753b141656c93e3ac0f7aad5563f6 /OpenSim/Region/CoreModules/World/Land
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-c14acf8a06efea404ce3360860175d2cea1bc5c9.zip
opensim-SC-c14acf8a06efea404ce3360860175d2cea1bc5c9.tar.gz
opensim-SC-c14acf8a06efea404ce3360860175d2cea1bc5c9.tar.bz2
opensim-SC-c14acf8a06efea404ce3360860175d2cea1bc5c9.tar.xz
Adapt to CM
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs
index 34ef67f..2d1979f 100644
--- a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs
@@ -169,7 +169,7 @@ namespace OpenSim.Region.CoreModules.World.Land
169 if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts)) 169 if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts))
170 { 170 {
171 UUID landOwner = landData.OwnerID; 171 UUID landOwner = landData.OwnerID;
172 int partCount = obj.Parts.Length; 172 int partCount = obj.GetPartCount();
173 173
174 m_SimwideCounts[landOwner] += partCount; 174 m_SimwideCounts[landOwner] += partCount;
175 if (parcelCounts.Users.ContainsKey(obj.OwnerID)) 175 if (parcelCounts.Users.ContainsKey(obj.OwnerID))