diff options
author | MW | 2007-05-29 14:17:37 +0000 |
---|---|---|
committer | MW | 2007-05-29 14:17:37 +0000 |
commit | f60e511c73f5e1ff4cef4f80661bfabf412c939b (patch) | |
tree | a9d15a61b1b527eb708f7d8df4197ca8a2c71ab0 /OpenSim/OpenSim.RegionServer | |
parent | Hopefully fixed Culture decimal problem (diff) | |
download | opensim-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 'OpenSim/OpenSim.RegionServer')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/RegionInfo.cs | 3 |
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 |