aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
authorMW2007-04-03 13:37:11 +0000
committerMW2007-04-03 13:37:11 +0000
commit56e6587c9f3ff9b8b9e48ff20a21244b739e2081 (patch)
tree4ef13347d53989281c8d554be8102f4227bcf3df /OpenSim.RegionServer/RegionInfo.cs
parentOpenSim no longer uses OpenSim.Config.SimConfigDb4o, it now uses OpenSim.Gene... (diff)
downloadopensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.zip
opensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.tar.gz
opensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.tar.bz2
opensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.tar.xz
Temporary fix for the object taking bug
Diffstat (limited to 'OpenSim.RegionServer/RegionInfo.cs')
-rw-r--r--OpenSim.RegionServer/RegionInfo.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/RegionInfo.cs b/OpenSim.RegionServer/RegionInfo.cs
index 15cc105..806d7cc 100644
--- a/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim.RegionServer/RegionInfo.cs
@@ -59,11 +59,11 @@ namespace OpenSim
59 { 59 {
60 string location = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid Location X [997]: ", "997"); 60 string location = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid Location X [997]: ", "997");
61 configData.SetAttribute("SimLocationX", location); 61 configData.SetAttribute("SimLocationX", location);
62 this.RegionLocX = (uint)Convert.ToInt32(location); 62 this.RegionLocX = (uint)Convert.ToUInt32(location);
63 } 63 }
64 else 64 else
65 { 65 {
66 this.RegionLocX = (uint)Convert.ToInt32(attri); 66 this.RegionLocX = (uint)Convert.ToUInt32(attri);
67 } 67 }
68 // Sim/Grid location Y 68 // Sim/Grid location Y
69 attri = ""; 69 attri = "";
@@ -72,11 +72,11 @@ namespace OpenSim
72 { 72 {
73 string location = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid Location Y [996]: ", "996"); 73 string location = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid Location Y [996]: ", "996");
74 configData.SetAttribute("SimLocationY", location); 74 configData.SetAttribute("SimLocationY", location);
75 this.RegionLocY = (uint)Convert.ToInt32(location); 75 this.RegionLocY = (uint)Convert.ToUInt32(location);
76 } 76 }
77 else 77 else
78 { 78 {
79 this.RegionLocY = (uint)Convert.ToInt32(attri); 79 this.RegionLocY = (uint)Convert.ToUInt32(attri);
80 } 80 }
81 //Sim Listen Port 81 //Sim Listen Port
82 attri = ""; 82 attri = "";