diff options
author | MW | 2007-05-29 14:06:38 +0000 |
---|---|---|
committer | MW | 2007-05-29 14:06:38 +0000 |
commit | b2e01804227340663570b8b01434b73240dd4e6b (patch) | |
tree | 0f93450995e8f221a4568cfdcd0ef8cb289d76a6 /OpenSim/OpenSim.RegionServer | |
parent | number of changes (diff) | |
download | opensim-SC_OLD-b2e01804227340663570b8b01434b73240dd4e6b.zip opensim-SC_OLD-b2e01804227340663570b8b01434b73240dd4e6b.tar.gz opensim-SC_OLD-b2e01804227340663570b8b01434b73240dd4e6b.tar.bz2 opensim-SC_OLD-b2e01804227340663570b8b01434b73240dd4e6b.tar.xz |
Hopefully fixed Culture decimal problem
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 c42b434..9394ccc 100644 --- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs +++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs | |||
@@ -1,6 +1,7 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using System.Globalization; | ||
4 | using System.Net; | 5 | using System.Net; |
5 | using System.Web; | 6 | using System.Web; |
6 | using System.IO; | 7 | using System.IO; |
@@ -211,7 +212,7 @@ namespace OpenSim | |||
211 | attri = configData.GetAttribute("TerrainMultiplier"); | 212 | attri = configData.GetAttribute("TerrainMultiplier"); |
212 | if (attri == "") | 213 | if (attri == "") |
213 | { | 214 | { |
214 | this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0")); | 215 | this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"), CultureInfo.InvariantCulture); |
215 | configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); | 216 | configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); |
216 | } | 217 | } |
217 | else | 218 | else |