diff options
author | MW | 2007-05-19 18:32:01 +0000 |
---|---|---|
committer | MW | 2007-05-19 18:32:01 +0000 |
commit | 274ce6987e0b017800ddb62fe65143e0d5e1cae5 (patch) | |
tree | 4842cdbb9e209451136b1ab9149da5d5dd84db70 /OpenSim.RegionServer/AuthenticateSessionsBase.cs | |
parent | (no commit message) (diff) | |
download | opensim-SC_OLD-274ce6987e0b017800ddb62fe65143e0d5e1cae5.zip opensim-SC_OLD-274ce6987e0b017800ddb62fe65143e0d5e1cae5.tar.gz opensim-SC_OLD-274ce6987e0b017800ddb62fe65143e0d5e1cae5.tar.bz2 opensim-SC_OLD-274ce6987e0b017800ddb62fe65143e0d5e1cae5.tar.xz |
Border crossing back to mostly working, still seems a problem in that you need to stop walking just after you cross the border for it to work properly (else you will continue moving into a negative position in the first sim)
Diffstat (limited to 'OpenSim.RegionServer/AuthenticateSessionsBase.cs')
-rw-r--r-- | OpenSim.RegionServer/AuthenticateSessionsBase.cs | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/OpenSim.RegionServer/AuthenticateSessionsBase.cs b/OpenSim.RegionServer/AuthenticateSessionsBase.cs index f784f54..91bc54d 100644 --- a/OpenSim.RegionServer/AuthenticateSessionsBase.cs +++ b/OpenSim.RegionServer/AuthenticateSessionsBase.cs | |||
@@ -81,8 +81,29 @@ namespace OpenSim | |||
81 | this.AgentCircuits[(uint)agentData.circuitcode].firstname = agentData.firstname; | 81 | this.AgentCircuits[(uint)agentData.circuitcode].firstname = agentData.firstname; |
82 | this.AgentCircuits[(uint)agentData.circuitcode].lastname = agentData.lastname; | 82 | this.AgentCircuits[(uint)agentData.circuitcode].lastname = agentData.lastname; |
83 | this.AgentCircuits[(uint)agentData.circuitcode].startpos = agentData.startpos; | 83 | this.AgentCircuits[(uint)agentData.circuitcode].startpos = agentData.startpos; |
84 | // Console.WriteLine("update user start pos is " + agentData.startpos.X + " , " + agentData.startpos.Y + " , " + agentData.startpos.Z); | ||
85 | |||
86 | } | ||
87 | |||
88 | } | ||
89 | |||
90 | public void UpdateAgentChildStatus(uint circuitcode, bool childstatus) | ||
91 | { | ||
92 | if (this.AgentCircuits.ContainsKey(circuitcode)) | ||
93 | { | ||
94 | this.AgentCircuits[circuitcode].child = childstatus; | ||
95 | |||
96 | } | ||
97 | } | ||
98 | |||
99 | public bool GetAgentChildStatus(uint circuitcode) | ||
100 | { | ||
101 | if (this.AgentCircuits.ContainsKey(circuitcode)) | ||
102 | { | ||
103 | return this.AgentCircuits[circuitcode].child; | ||
104 | |||
84 | } | 105 | } |
85 | 106 | return false; | |
86 | } | 107 | } |
87 | } | 108 | } |
88 | } | 109 | } |