diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 295dfee..28652d7 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -740,6 +740,17 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
740 | newData.ParcelAccessList.Add(temp); | 740 | newData.ParcelAccessList.Add(temp); |
741 | } | 741 | } |
742 | 742 | ||
743 | // update use lists flags | ||
744 | // rights already checked or we wont be here | ||
745 | uint parcelflags = newData.Flags; | ||
746 | |||
747 | if((flags & (uint)AccessList.Access) != 0) | ||
748 | parcelflags |= (uint)ParcelFlags.UseAccessList; | ||
749 | if((flags & (uint)AccessList.Ban) != 0) | ||
750 | parcelflags |= (uint)ParcelFlags.UseBanList; | ||
751 | |||
752 | newData.Flags = parcelflags; | ||
753 | |||
743 | m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData); | 754 | m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData); |
744 | } | 755 | } |
745 | 756 | ||