Adapt to CM

avinationmerge
Melanie 2011-01-29 04:51:11 +00:00
parent 24a768a99b
commit c14acf8a06
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ namespace OpenSim.Region.CoreModules.World.Land
if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts)) if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts))
{ {
UUID landOwner = landData.OwnerID; UUID landOwner = landData.OwnerID;
int partCount = obj.Parts.Length; int partCount = obj.GetPartCount();
m_SimwideCounts[landOwner] += partCount; m_SimwideCounts[landOwner] += partCount;
if (parcelCounts.Users.ContainsKey(obj.OwnerID)) if (parcelCounts.Users.ContainsKey(obj.OwnerID))