diff options
-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)) |