aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMW2007-05-29 14:17:37 +0000
committerMW2007-05-29 14:17:37 +0000
commitf60e511c73f5e1ff4cef4f80661bfabf412c939b (patch)
treea9d15a61b1b527eb708f7d8df4197ca8a2c71ab0 /OpenSim
parentHopefully fixed Culture decimal problem (diff)
downloadopensim-SC-f60e511c73f5e1ff4cef4f80661bfabf412c939b.zip
opensim-SC-f60e511c73f5e1ff4cef4f80661bfabf412c939b.tar.gz
opensim-SC-f60e511c73f5e1ff4cef4f80661bfabf412c939b.tar.bz2
opensim-SC-f60e511c73f5e1ff4cef4f80661bfabf412c939b.tar.xz
attempt two
Diffstat (limited to 'OpenSim')
-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