diff options
Temporary fix for the object taking bug
Diffstat (limited to 'OpenSim.RegionServer/RegionInfo.cs')
-rw-r--r-- | OpenSim.RegionServer/RegionInfo.cs | 8 |
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 = ""; |