aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSimMain.cs
diff options
context:
space:
mode:
authorlbsa712007-05-17 13:48:15 +0000
committerlbsa712007-05-17 13:48:15 +0000
commit333e8fe54f89122c1be575d41f05d2d2ae2f5abe (patch)
tree977f0a53d016ab1d22c87eb8130631201dd9e411 /OpenSim/OpenSimMain.cs
parent* did the try get thing and introduced some variables for readability (diff)
downloadopensim-SC_OLD-333e8fe54f89122c1be575d41f05d2d2ae2f5abe.zip
opensim-SC_OLD-333e8fe54f89122c1be575d41f05d2d2ae2f5abe.tar.gz
opensim-SC_OLD-333e8fe54f89122c1be575d41f05d2d2ae2f5abe.tar.bz2
opensim-SC_OLD-333e8fe54f89122c1be575d41f05d2d2ae2f5abe.tar.xz
* minor rearrangement for clarity
Diffstat (limited to 'OpenSim/OpenSimMain.cs')
-rw-r--r--OpenSim/OpenSimMain.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/OpenSimMain.cs b/OpenSim/OpenSimMain.cs
index e90ad54..8edadc3 100644
--- a/OpenSim/OpenSimMain.cs
+++ b/OpenSim/OpenSimMain.cs
@@ -271,13 +271,14 @@ namespace OpenSim
271 delegate(XmlRpcRequest request) 271 delegate(XmlRpcRequest request)
272 { 272 {
273 Hashtable requestData = (Hashtable)request.Params[0]; 273 Hashtable requestData = (Hashtable)request.Params[0];
274 uint circuitcode = Convert.ToUInt32(requestData["circuit_code"]);
275
274 AgentCircuitData agent_data = new AgentCircuitData(); 276 AgentCircuitData agent_data = new AgentCircuitData();
275 agent_data.firstname = (string)requestData["firstname"]; 277 agent_data.firstname = (string)requestData["firstname"];
276 agent_data.lastname = (string)requestData["lastname"]; 278 agent_data.lastname = (string)requestData["lastname"];
277 agent_data.circuitcode = Convert.ToUInt32(requestData["circuit_code"]); 279 agent_data.circuitcode = circuitcode;
278 agent_data.startpos = new LLVector3(Single.Parse((string)requestData["pos_x"]), Single.Parse((string)requestData["pos_y"]), Single.Parse((string)requestData["pos_z"])); 280 agent_data.startpos = new LLVector3(Single.Parse((string)requestData["pos_x"]), Single.Parse((string)requestData["pos_y"]), Single.Parse((string)requestData["pos_z"]));
279 281
280 uint circuitcode = (uint)agent_data.circuitcode;
281 RemoteGridBase gridServer = (RemoteGridBase)this.GridServers.GridServer; 282 RemoteGridBase gridServer = (RemoteGridBase)this.GridServers.GridServer;
282 283
283 AgentCircuitData agentCircuit; 284 AgentCircuitData agentCircuit;