aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
authormingchen2007-06-07 16:29:10 +0000
committermingchen2007-06-07 16:29:10 +0000
commit458c6b6f1687a63c7b443a8e76ee31da75c99247 (patch)
treea96d8c96f7da66344f83fbdc2c15c3e421230e34 /OpenSim/OpenSim.RegionServer/RegionInfo.cs
parentFixed SVN: All Done! Sorry for the delay (3 / 3) (diff)
downloadopensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.zip
opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.tar.gz
opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.tar.bz2
opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.tar.xz
*Added EstateSettings.cs and moved many relevant variables from RegionInfoBase to EstateSettings class and added an EstateSettings objection to RegionInfoBase
*Added a few missed copyright headers *Fixed a filename typo
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index f14fd3f..de1750c 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -232,12 +232,12 @@ namespace OpenSim.RegionServer
232 attri = configData.GetAttribute("TerrainFile"); 232 attri = configData.GetAttribute("TerrainFile");
233 if (attri == "") 233 if (attri == "")
234 { 234 {
235 this.TerrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("GENERAL SETTING: Default Terrain File", "default.r32"); 235 this.estateSettings.terrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("GENERAL SETTING: Default Terrain File", "default.r32");
236 configData.SetAttribute("TerrainFile", this.TerrainFile); 236 configData.SetAttribute("TerrainFile", this.estateSettings.terrainFile);
237 } 237 }
238 else 238 else
239 { 239 {
240 this.TerrainFile = attri; 240 this.estateSettings.terrainFile = attri;
241 } 241 }
242 242
243 attri = ""; 243 attri = "";
@@ -245,12 +245,12 @@ namespace OpenSim.RegionServer
245 if (attri == "") 245 if (attri == "")
246 { 246 {
247 string re = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("GENERAL SETTING: Terrain Height Multiplier", "60.0"); 247 string re = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("GENERAL SETTING: Terrain Height Multiplier", "60.0");
248 this.TerrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture); 248 this.estateSettings.terrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture);
249 configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); 249 configData.SetAttribute("TerrainMultiplier", this.estateSettings.terrainMultiplier.ToString());
250 } 250 }
251 else 251 else
252 { 252 {
253 this.TerrainMultiplier = Convert.ToDouble(attri); 253 this.estateSettings.terrainMultiplier = Convert.ToDouble(attri);
254 } 254 }
255 255
256 attri = ""; 256 attri = "";