diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/LandData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Land/LandObject.cs | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Framework/LandData.cs b/OpenSim/Framework/LandData.cs index 7d29d10..2ff59cd 100644 --- a/OpenSim/Framework/LandData.cs +++ b/OpenSim/Framework/LandData.cs | |||
@@ -42,7 +42,7 @@ namespace OpenSim.Framework | |||
42 | private int _claimDate = 0; | 42 | private int _claimDate = 0; |
43 | private int _claimPrice = 0; //Unemplemented | 43 | private int _claimPrice = 0; //Unemplemented |
44 | private UUID _globalID = UUID.Zero; | 44 | private UUID _globalID = UUID.Zero; |
45 | private UUID _groupID = UUID.Zero; //Unemplemented | 45 | private UUID _groupID = UUID.Zero; |
46 | private int _groupPrims = 0; | 46 | private int _groupPrims = 0; |
47 | private bool _isGroupOwned = false; | 47 | private bool _isGroupOwned = false; |
48 | private byte[] _bitmap = new byte[512]; | 48 | private byte[] _bitmap = new byte[512]; |
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs b/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs index 097e55f..7929b91 100644 --- a/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs +++ b/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs | |||
@@ -827,6 +827,11 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
827 | { | 827 | { |
828 | landData.OwnerPrims += prim_count; | 828 | landData.OwnerPrims += prim_count; |
829 | } | 829 | } |
830 | else if (obj.GroupID == landData.GroupID || | ||
831 | prim_owner == landData.GroupID) | ||
832 | { | ||
833 | landData.GroupPrims += prim_count; | ||
834 | } | ||
830 | else | 835 | else |
831 | { | 836 | { |
832 | landData.OtherPrims += prim_count; | 837 | landData.OtherPrims += prim_count; |
@@ -850,7 +855,8 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
850 | { | 855 | { |
851 | landData.OwnerPrims -= prim_count; | 856 | landData.OwnerPrims -= prim_count; |
852 | } | 857 | } |
853 | else if (prim_owner == landData.GroupID) | 858 | else if (obj.GroupID == landData.GroupID || |
859 | prim_owner == landData.GroupID) | ||
854 | { | 860 | { |
855 | landData.GroupPrims -= prim_count; | 861 | landData.GroupPrims -= prim_count; |
856 | } | 862 | } |