diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs index f07ae31..992cd72 100644 --- a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | |||
@@ -210,7 +210,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
210 | { | 210 | { |
211 | if (obj.OwnerID == landData.GroupID) | 211 | if (obj.OwnerID == landData.GroupID) |
212 | parcelCounts.Owner += partCount; | 212 | parcelCounts.Owner += partCount; |
213 | else if (obj.GroupID == landData.GroupID) | 213 | else if (landData.GroupID != UUID.Zero && obj.GroupID == landData.GroupID) |
214 | parcelCounts.Group += partCount; | 214 | parcelCounts.Group += partCount; |
215 | else | 215 | else |
216 | parcelCounts.Others += partCount; | 216 | parcelCounts.Others += partCount; |
@@ -219,7 +219,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
219 | { | 219 | { |
220 | if (obj.OwnerID == landData.OwnerID) | 220 | if (obj.OwnerID == landData.OwnerID) |
221 | parcelCounts.Owner += partCount; | 221 | parcelCounts.Owner += partCount; |
222 | else if (obj.GroupID == landData.GroupID) | 222 | else if (landData.GroupID != UUID.Zero && obj.GroupID == landData.GroupID) |
223 | parcelCounts.Group += partCount; | 223 | parcelCounts.Group += partCount; |
224 | else | 224 | else |
225 | parcelCounts.Others += partCount; | 225 | parcelCounts.Others += partCount; |