diff options
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index dc7242f..5421b2e 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -117,8 +117,6 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
117 | { | 117 | { |
118 | m_scene = scene; | 118 | m_scene = scene; |
119 | m_landIDList = new int[m_scene.RegionInfo.RegionSizeX / LandUnit, m_scene.RegionInfo.RegionSizeY / LandUnit]; | 119 | m_landIDList = new int[m_scene.RegionInfo.RegionSizeX / LandUnit, m_scene.RegionInfo.RegionSizeY / LandUnit]; |
120 | |||
121 | m_landIDList.Initialize(); | ||
122 | landChannel = new LandChannel(scene, this); | 120 | landChannel = new LandChannel(scene, this); |
123 | 121 | ||
124 | parcelInfoCache = new Cache(); | 122 | parcelInfoCache = new Cache(); |
@@ -301,7 +299,6 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
301 | m_landList.Clear(); | 299 | m_landList.Clear(); |
302 | m_lastLandLocalID = LandChannel.START_LAND_LOCAL_ID - 1; | 300 | m_lastLandLocalID = LandChannel.START_LAND_LOCAL_ID - 1; |
303 | m_landIDList = new int[m_scene.RegionInfo.RegionSizeX / LandUnit, m_scene.RegionInfo.RegionSizeY / LandUnit]; | 301 | m_landIDList = new int[m_scene.RegionInfo.RegionSizeX / LandUnit, m_scene.RegionInfo.RegionSizeY / LandUnit]; |
304 | m_landIDList.Initialize(); | ||
305 | } | 302 | } |
306 | } | 303 | } |
307 | 304 | ||
@@ -938,7 +935,6 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
938 | private bool[,] CreateBitmapForID(int landID) | 935 | private bool[,] CreateBitmapForID(int landID) |
939 | { | 936 | { |
940 | bool[,] ret = new bool[m_landIDList.GetLength(0), m_landIDList.GetLength(1)]; | 937 | bool[,] ret = new bool[m_landIDList.GetLength(0), m_landIDList.GetLength(1)]; |
941 | ret.Initialize(); | ||
942 | 938 | ||
943 | for (int xx = 0; xx < m_landIDList.GetLength(0); xx++) | 939 | for (int xx = 0; xx < m_landIDList.GetLength(0); xx++) |
944 | for (int yy = 0; yy < m_landIDList.GetLength(0); yy++) | 940 | for (int yy = 0; yy < m_landIDList.GetLength(0); yy++) |