aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.World/Avatar.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.World/Avatar.cs')
-rw-r--r--OpenSim/OpenSim.World/Avatar.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs
index 368bc53..4c3bc34 100644
--- a/OpenSim/OpenSim.World/Avatar.cs
+++ b/OpenSim/OpenSim.World/Avatar.cs
@@ -35,6 +35,7 @@ namespace OpenSim.world
35 private Dictionary<uint, IClientAPI> m_clientThreads; 35 private Dictionary<uint, IClientAPI> m_clientThreads;
36 private bool childAvatar = false; 36 private bool childAvatar = false;
37 37
38 private RegionInfo m_regInfo;
38 /// <summary> 39 /// <summary>
39 /// 40 ///
40 /// </summary> 41 /// </summary>
@@ -42,13 +43,14 @@ namespace OpenSim.world
42 /// <param name="world"></param> 43 /// <param name="world"></param>
43 /// <param name="clientThreads"></param> 44 /// <param name="clientThreads"></param>
44 /// <param name="regionDat"></param> 45 /// <param name="regionDat"></param>
45 public Avatar(IClientAPI theClient, World world, Dictionary<uint, IClientAPI> clientThreads) 46 public Avatar(IClientAPI theClient, World world, Dictionary<uint, IClientAPI> clientThreads, RegionInfo reginfo)
46 { 47 {
47 48
48 m_world = world; 49 m_world = world;
49 m_clientThreads = clientThreads; 50 m_clientThreads = clientThreads;
50 this.uuid = theClient.AgentId; 51 this.uuid = theClient.AgentId;
51 52
53 m_regInfo = reginfo;
52 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)"); 54 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)");
53 ControllingClient = theClient; 55 ControllingClient = theClient;
54 this.firstname = ControllingClient.FirstName; 56 this.firstname = ControllingClient.FirstName;
@@ -140,7 +142,7 @@ namespace OpenSim.world
140 /// </summary> 142 /// </summary>
141 public void CompleteMovement() 143 public void CompleteMovement()
142 { 144 {
143 this.ControllingClient.MoveAgentIntoRegion(this.m_world.m_regInfo); 145 this.ControllingClient.MoveAgentIntoRegion(m_regInfo);
144 } 146 }
145 147
146 /// <summary> 148 /// <summary>