From 333e8fe54f89122c1be575d41f05d2d2ae2f5abe Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 17 May 2007 13:48:15 +0000 Subject: [PATCH] * minor rearrangement for clarity --- OpenSim/OpenSimMain.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/OpenSimMain.cs b/OpenSim/OpenSimMain.cs index e90ad54239..8edadc3a84 100644 --- a/OpenSim/OpenSimMain.cs +++ b/OpenSim/OpenSimMain.cs @@ -271,13 +271,14 @@ namespace OpenSim delegate(XmlRpcRequest request) { Hashtable requestData = (Hashtable)request.Params[0]; + uint circuitcode = Convert.ToUInt32(requestData["circuit_code"]); + AgentCircuitData agent_data = new AgentCircuitData(); agent_data.firstname = (string)requestData["firstname"]; agent_data.lastname = (string)requestData["lastname"]; - agent_data.circuitcode = Convert.ToUInt32(requestData["circuit_code"]); + agent_data.circuitcode = circuitcode; agent_data.startpos = new LLVector3(Single.Parse((string)requestData["pos_x"]), Single.Parse((string)requestData["pos_y"]), Single.Parse((string)requestData["pos_z"])); - uint circuitcode = (uint)agent_data.circuitcode; RemoteGridBase gridServer = (RemoteGridBase)this.GridServers.GridServer; AgentCircuitData agentCircuit;