diff options
author | UbitUmarov | 2016-11-23 10:00:56 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-23 10:00:56 +0000 |
commit | 82ed6bde6e7258ee8380a2e8466d4a7e32c9e5e6 (patch) | |
tree | afd5c4d7afff7c084eac3f68ace62c37c52fc0cd /OpenSim | |
parent | close a resource on jobengine.close() (diff) | |
download | opensim-SC_OLD-82ed6bde6e7258ee8380a2e8466d4a7e32c9e5e6.zip opensim-SC_OLD-82ed6bde6e7258ee8380a2e8466d4a7e32c9e5e6.tar.gz opensim-SC_OLD-82ed6bde6e7258ee8380a2e8466d4a7e32c9e5e6.tar.bz2 opensim-SC_OLD-82ed6bde6e7258ee8380a2e8466d4a7e32c9e5e6.tar.xz |
fix maturity on parcelInfo
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index f472dba..498d5fe 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3126,10 +3126,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3126 | reply.Data.ActualArea = land.Area; | 3126 | reply.Data.ActualArea = land.Area; |
3127 | reply.Data.BillableArea = land.Area; // TODO: what is this? | 3127 | reply.Data.BillableArea = land.Area; // TODO: what is this? |
3128 | 3128 | ||
3129 | // Bit 0: Mature, bit 7: on sale, other bits: no idea | 3129 | reply.Data.Flags = (byte)Util.ConvertAccessLevelToMaturity((byte)info.AccessLevel); |
3130 | reply.Data.Flags = (byte)( | 3130 | if((land.Flags & (uint)ParcelFlags.ForSale) != 0) |
3131 | (info.AccessLevel > 13 ? (1 << 0) : 0) + | 3131 | reply.Data.Flags |= (byte)((1 << 7)); |
3132 | ((land.Flags & (uint)ParcelFlags.ForSale) != 0 ? (1 << 7) : 0)); | ||
3133 | 3132 | ||
3134 | Vector3 pos = land.UserLocation; | 3133 | Vector3 pos = land.UserLocation; |
3135 | if (pos.Equals(Vector3.Zero)) | 3134 | if (pos.Equals(Vector3.Zero)) |