aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.World/ParcelManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.World/ParcelManager.cs')
-rw-r--r--OpenSim/OpenSim.World/ParcelManager.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.World/ParcelManager.cs b/OpenSim/OpenSim.World/ParcelManager.cs
index d571150..9fbacd6 100644
--- a/OpenSim/OpenSim.World/ParcelManager.cs
+++ b/OpenSim/OpenSim.World/ParcelManager.cs
@@ -74,14 +74,17 @@ namespace OpenSim.world
74 private int lastParcelLocalID = START_PARCEL_LOCAL_ID - 1; 74 private int lastParcelLocalID = START_PARCEL_LOCAL_ID - 1;
75 private int[,] parcelIDList = new int[64, 64]; 75 private int[,] parcelIDList = new int[64, 64];
76 76
77 private static World m_world; 77 private World m_world;
78 private RegionInfo m_regInfo;
79
78 #endregion 80 #endregion
79 81
80 #region Constructors 82 #region Constructors
81 public ParcelManager(World world) 83 public ParcelManager(World world, RegionInfo reginfo)
82 { 84 {
83 85
84 m_world = world; 86 m_world = world;
87 m_regInfo = reginfo;
85 parcelIDList.Initialize(); 88 parcelIDList.Initialize();
86 89
87 } 90 }
@@ -421,7 +424,7 @@ namespace OpenSim.world
421 fullSimParcel.parcelData.parcelName = "Your Sim Parcel"; 424 fullSimParcel.parcelData.parcelName = "Your Sim Parcel";
422 fullSimParcel.parcelData.parcelDesc = ""; 425 fullSimParcel.parcelData.parcelDesc = "";
423 426
424 fullSimParcel.parcelData.ownerID = m_world.m_regInfo.MasterAvatarAssignedUUID; 427 fullSimParcel.parcelData.ownerID = m_regInfo.MasterAvatarAssignedUUID;
425 fullSimParcel.parcelData.salePrice = 1; 428 fullSimParcel.parcelData.salePrice = 1;
426 fullSimParcel.parcelData.parcelFlags = libsecondlife.Parcel.ParcelFlags.ForSale; 429 fullSimParcel.parcelData.parcelFlags = libsecondlife.Parcel.ParcelFlags.ForSale;
427 fullSimParcel.parcelData.parcelStatus = libsecondlife.Parcel.ParcelStatus.Leased; 430 fullSimParcel.parcelData.parcelStatus = libsecondlife.Parcel.ParcelStatus.Leased;