diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/Land.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs index 791b3ea..45e8aac 100644 --- a/OpenSim/Region/Environment/LandManagement/Land.cs +++ b/OpenSim/Region/Environment/LandManagement/Land.cs | |||
@@ -93,6 +93,16 @@ namespace OpenSim.Region.Environment.LandManagement | |||
93 | 93 | ||
94 | //Place all new variables here! | 94 | //Place all new variables here! |
95 | newLand.landBitmap = (bool[,]) (landBitmap.Clone()); | 95 | newLand.landBitmap = (bool[,]) (landBitmap.Clone()); |
96 | newLand.parcelAccessList.Clear(); | ||
97 | foreach (ParcelManager.ParcelAccessEntry entry in parcelAccessList) | ||
98 | { | ||
99 | ParcelManager.ParcelAccessEntry newEntry = new ParcelManager.ParcelAccessEntry(); | ||
100 | newEntry.AgentID = entry.AgentID; | ||
101 | newEntry.Flags = entry.Flags; | ||
102 | newEntry.Time = entry.Time; | ||
103 | |||
104 | newLand.parcelAccessList.Add(newEntry); | ||
105 | } | ||
96 | newLand.landData = landData.Copy(); | 106 | newLand.landData = landData.Copy(); |
97 | 107 | ||
98 | return newLand; | 108 | return newLand; |