From e647d9ec51ebb3008277c5268953b71b079c0a5d Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 21 Jun 2007 13:55:28 +0000 Subject: Fixed problem of not being able to move out of the first 3X3 block of regions. (Code Needs cleaning up). --- OpenSim/OpenSim.Region/Scenes/ScenePresence.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/OpenSim.Region/Scenes/ScenePresence.cs') diff --git a/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs b/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs index 3fbda39..e22528a 100644 --- a/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs +++ b/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs @@ -61,6 +61,7 @@ namespace OpenSim.Region.Scenes private ulong m_regionHandle; private bool childAvatar = false; private bool newForce = false; + private bool newAvatar = false; protected RegionInfo m_regionInfo; /// @@ -145,6 +146,7 @@ namespace OpenSim.Region.Scenes { //this.childAvatar = false; this.Pos = pos; + this.newAvatar = true; } protected void DownGradeAvatar() @@ -179,7 +181,7 @@ namespace OpenSim.Region.Scenes NewForce force = this.forcesList[i]; this.updateflag = true; - this.Velocity = new LLVector3(force.X, force.Y, force.Z); //shouldn't really be doing this + this.Velocity = new LLVector3(force.X, force.Y, force.Z); this.newForce = true; } for (int i = 0; i < this.forcesList.Count; i++) -- cgit v1.1