aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index 1608f4b..c42b434 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -202,6 +202,10 @@ namespace OpenSim
202 this.TerrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain file default", "default.r32"); 202 this.TerrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain file default", "default.r32");
203 configData.SetAttribute("TerrainFile", this.TerrainFile); 203 configData.SetAttribute("TerrainFile", this.TerrainFile);
204 } 204 }
205 else
206 {
207 this.TerrainFile = attri;
208 }
205 209
206 attri = ""; 210 attri = "";
207 attri = configData.GetAttribute("TerrainMultiplier"); 211 attri = configData.GetAttribute("TerrainMultiplier");
@@ -210,6 +214,10 @@ namespace OpenSim
210 this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0")); 214 this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"));
211 configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); 215 configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString());
212 } 216 }
217 else
218 {
219 this.TerrainMultiplier = Convert.ToDouble(attri);
220 }
213 221
214 222
215 if (!isSandbox) 223 if (!isSandbox)