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, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs index 854d1ca..2a9036d 100644 --- a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | |||
@@ -205,7 +205,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
205 | { | 205 | { |
206 | if (obj.OwnerID == landData.GroupID) | 206 | if (obj.OwnerID == landData.GroupID) |
207 | parcelCounts.Owner += partCount; | 207 | parcelCounts.Owner += partCount; |
208 | else if (obj.GroupID == landData.GroupID) | 208 | else if (landData.GroupID != UUID.Zero && obj.GroupID == landData.GroupID) |
209 | parcelCounts.Group += partCount; | 209 | parcelCounts.Group += partCount; |
210 | else | 210 | else |
211 | parcelCounts.Others += partCount; | 211 | parcelCounts.Others += partCount; |
@@ -214,8 +214,6 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
214 | { | 214 | { |
215 | if (obj.OwnerID == landData.OwnerID) | 215 | if (obj.OwnerID == landData.OwnerID) |
216 | parcelCounts.Owner += partCount; | 216 | parcelCounts.Owner += partCount; |
217 | else if (obj.GroupID == landData.GroupID) | ||
218 | parcelCounts.Group += partCount; | ||
219 | else | 217 | else |
220 | parcelCounts.Others += partCount; | 218 | parcelCounts.Others += partCount; |
221 | } | 219 | } |