diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/RegionInfo.cs | 12 |
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 = ""; |