diff options
author | MW | 2007-05-29 17:57:03 +0000 |
---|---|---|
committer | MW | 2007-05-29 17:57:03 +0000 |
commit | 4d0261ed2225dff3f107ec52484770a6f7435790 (patch) | |
tree | 7911331caadab92136ab84f80c41ceba1bdf7691 /OpenSim/OpenSim.World | |
parent | (no commit message) (diff) | |
download | opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.zip opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.tar.gz opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.tar.bz2 opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.tar.xz |
Diffstat (limited to 'OpenSim/OpenSim.World')
-rw-r--r-- | OpenSim/OpenSim.World/Avatar.cs | 10 | ||||
-rw-r--r-- | OpenSim/OpenSim.World/World.cs | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs index 3c22db2..ee5aa44 100644 --- a/OpenSim/OpenSim.World/Avatar.cs +++ b/OpenSim/OpenSim.World/Avatar.cs | |||
@@ -70,10 +70,10 @@ namespace OpenSim.world | |||
70 | /* | 70 | /* |
71 | //register for events | 71 | //register for events |
72 | ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance); | 72 | ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance); |
73 | ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance); | 73 | ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance);*/ |
74 | ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.CompleteMovement); | 74 | ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.CompleteMovement); |
75 | ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.SendInitialPosition); | 75 | ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.SendInitialPosition); |
76 | ControllingClient.OnAgentUpdate += new GenericCall3(this.HandleAgentUpdate); | 76 | /* ControllingClient.OnAgentUpdate += new GenericCall3(this.HandleAgentUpdate); |
77 | ControllingClient.OnStartAnim += new StartAnim(this.SendAnimPack); | 77 | ControllingClient.OnStartAnim += new StartAnim(this.SendAnimPack); |
78 | ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange); | 78 | ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange); |
79 | ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement); | 79 | ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement); |
@@ -116,7 +116,7 @@ namespace OpenSim.world | |||
116 | 116 | ||
117 | public void CompleteMovement() | 117 | public void CompleteMovement() |
118 | { | 118 | { |
119 | 119 | this.ControllingClient.MoveAgentIntoRegion(this.regionData); | |
120 | } | 120 | } |
121 | 121 | ||
122 | public void HandleAgentUpdate(Packet pack) | 122 | public void HandleAgentUpdate(Packet pack) |
@@ -130,9 +130,9 @@ namespace OpenSim.world | |||
130 | } | 130 | } |
131 | 131 | ||
132 | //really really should be moved somewhere else (RegionInfo.cs ?) | 132 | //really really should be moved somewhere else (RegionInfo.cs ?) |
133 | public void SendRegionHandshake(RegionInfo regionInfo) | 133 | public void SendRegionHandshake() |
134 | { | 134 | { |
135 | this.ControllingClient.SendRegionHandshake(regionInfo); | 135 | this.ControllingClient.SendRegionHandshake(this.regionData); |
136 | } | 136 | } |
137 | 137 | ||
138 | public static void LoadAnims() | 138 | public static void LoadAnims() |
diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs index 8e8ab3e..6a50aaa 100644 --- a/OpenSim/OpenSim.World/World.cs +++ b/OpenSim/OpenSim.World/World.cs | |||
@@ -513,7 +513,7 @@ namespace OpenSim.world | |||
513 | newAvatar = new Avatar(remoteClient, this, m_clientThreads, this.m_regInfo); | 513 | newAvatar = new Avatar(remoteClient, this, m_clientThreads, this.m_regInfo); |
514 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Adding new avatar to world"); | 514 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Adding new avatar to world"); |
515 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Starting RegionHandshake "); | 515 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Starting RegionHandshake "); |
516 | newAvatar.SendRegionHandshake(this.m_regInfo); | 516 | newAvatar.SendRegionHandshake(); |
517 | 517 | ||
518 | PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z); | 518 | PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z); |
519 | lock (this.LockPhysicsEngine) | 519 | lock (this.LockPhysicsEngine) |