aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLManager.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLManager.cs b/OpenSim/Data/MySQL/MySQLManager.cs
index f2ec6be..38f56c4 100644
--- a/OpenSim/Data/MySQL/MySQLManager.cs
+++ b/OpenSim/Data/MySQL/MySQLManager.cs
@@ -427,11 +427,11 @@ namespace OpenSim.Data.MySQL
427 retval.LogoutTime = Convert.ToInt32(reader["logoutTime"].ToString()); 427 retval.LogoutTime = Convert.ToInt32(reader["logoutTime"].ToString());
428 428
429 // Current position 429 // Current position
430 retval.CurrentRegion = new LLUUID((string)reader["currentRegion"]); 430 retval.Region = new LLUUID((string)reader["currentRegion"]);
431 retval.CurrentHandle = Convert.ToUInt64(reader["currentHandle"].ToString()); 431 retval.Handle = Convert.ToUInt64(reader["currentHandle"].ToString());
432 LLVector3 tmp_v; 432 LLVector3 tmp_v;
433 LLVector3.TryParse((string) reader["currentPos"], out tmp_v); 433 LLVector3.TryParse((string) reader["currentPos"], out tmp_v);
434 retval.CurrentPos = tmp_v; 434 retval.Position = tmp_v;
435 } 435 }
436 else 436 else
437 { 437 {
@@ -915,9 +915,9 @@ namespace OpenSim.Data.MySQL
915 parameters["?agentOnline"] = (agentdata.AgentOnline == true) ? "1" : "0"; 915 parameters["?agentOnline"] = (agentdata.AgentOnline == true) ? "1" : "0";
916 parameters["?loginTime"] = agentdata.LoginTime.ToString(); 916 parameters["?loginTime"] = agentdata.LoginTime.ToString();
917 parameters["?logoutTime"] = agentdata.LogoutTime.ToString(); 917 parameters["?logoutTime"] = agentdata.LogoutTime.ToString();
918 parameters["?currentRegion"] = agentdata.CurrentRegion.ToString(); 918 parameters["?currentRegion"] = agentdata.Region.ToString();
919 parameters["?currentHandle"] = agentdata.CurrentHandle.ToString(); 919 parameters["?currentHandle"] = agentdata.Handle.ToString();
920 parameters["?currentPos"] = "<" + ((int)agentdata.CurrentPos.X).ToString() + "," + ((int)agentdata.CurrentPos.Y).ToString() + "," + ((int)agentdata.CurrentPos.Z).ToString() + ">"; 920 parameters["?currentPos"] = "<" + ((int)agentdata.Position.X).ToString() + "," + ((int)agentdata.Position.Y).ToString() + "," + ((int)agentdata.Position.Z).ToString() + ">";
921 921
922 bool returnval = false; 922 bool returnval = false;
923 923