aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMW2007-05-29 14:17:37 +0000
committerMW2007-05-29 14:17:37 +0000
commitf60e511c73f5e1ff4cef4f80661bfabf412c939b (patch)
treea9d15a61b1b527eb708f7d8df4197ca8a2c71ab0
parentHopefully fixed Culture decimal problem (diff)
downloadopensim-SC_OLD-f60e511c73f5e1ff4cef4f80661bfabf412c939b.zip
opensim-SC_OLD-f60e511c73f5e1ff4cef4f80661bfabf412c939b.tar.gz
opensim-SC_OLD-f60e511c73f5e1ff4cef4f80661bfabf412c939b.tar.bz2
opensim-SC_OLD-f60e511c73f5e1ff4cef4f80661bfabf412c939b.tar.xz
attempt two
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index 9394ccc..dc9bb1a 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -212,7 +212,8 @@ namespace OpenSim
212 attri = configData.GetAttribute("TerrainMultiplier"); 212 attri = configData.GetAttribute("TerrainMultiplier");
213 if (attri == "") 213 if (attri == "")
214 { 214 {
215 this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"), CultureInfo.InvariantCulture); 215 string re = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0");
216 this.TerrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture);
216 configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); 217 configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString());
217 } 218 }
218 else 219 else