aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMW2007-06-21 13:55:28 +0000
committerMW2007-06-21 13:55:28 +0000
commite647d9ec51ebb3008277c5268953b71b079c0a5d (patch)
tree737032ede544002daa2a54d03a53b4dc9213e48b /OpenSim/OpenSim.Region/Scenes/ScenePresence.cs
parent* Added MySQL license to ThirdPartyLicenses/MySQL and FOSS Exemption for BSD ... (diff)
downloadopensim-SC_OLD-e647d9ec51ebb3008277c5268953b71b079c0a5d.zip
opensim-SC_OLD-e647d9ec51ebb3008277c5268953b71b079c0a5d.tar.gz
opensim-SC_OLD-e647d9ec51ebb3008277c5268953b71b079c0a5d.tar.bz2
opensim-SC_OLD-e647d9ec51ebb3008277c5268953b71b079c0a5d.tar.xz
Fixed problem of not being able to move out of the first 3X3 block of regions. (Code Needs cleaning up).
Diffstat (limited to 'OpenSim/OpenSim.Region/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/OpenSim.Region/Scenes/ScenePresence.cs4
1 files changed, 3 insertions, 1 deletions
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
61 private ulong m_regionHandle; 61 private ulong m_regionHandle;
62 private bool childAvatar = false; 62 private bool childAvatar = false;
63 private bool newForce = false; 63 private bool newForce = false;
64 private bool newAvatar = false;
64 65
65 protected RegionInfo m_regionInfo; 66 protected RegionInfo m_regionInfo;
66 /// <summary> 67 /// <summary>
@@ -145,6 +146,7 @@ namespace OpenSim.Region.Scenes
145 { 146 {
146 //this.childAvatar = false; 147 //this.childAvatar = false;
147 this.Pos = pos; 148 this.Pos = pos;
149 this.newAvatar = true;
148 } 150 }
149 151
150 protected void DownGradeAvatar() 152 protected void DownGradeAvatar()
@@ -179,7 +181,7 @@ namespace OpenSim.Region.Scenes
179 NewForce force = this.forcesList[i]; 181 NewForce force = this.forcesList[i];
180 182
181 this.updateflag = true; 183 this.updateflag = true;
182 this.Velocity = new LLVector3(force.X, force.Y, force.Z); //shouldn't really be doing this 184 this.Velocity = new LLVector3(force.X, force.Y, force.Z);
183 this.newForce = true; 185 this.newForce = true;
184 } 186 }
185 for (int i = 0; i < this.forcesList.Count; i++) 187 for (int i = 0; i < this.forcesList.Count; i++)