aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
authorMW2007-05-29 14:06:38 +0000
committerMW2007-05-29 14:06:38 +0000
commitb2e01804227340663570b8b01434b73240dd4e6b (patch)
tree0f93450995e8f221a4568cfdcd0ef8cb289d76a6 /OpenSim/OpenSim.RegionServer/RegionInfo.cs
parentnumber of changes (diff)
downloadopensim-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/RegionInfo.cs')
-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 c42b434..9394ccc 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -1,6 +1,7 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using System.Globalization;
4using System.Net; 5using System.Net;
5using System.Web; 6using System.Web;
6using System.IO; 7using 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