diff options
Diffstat (limited to 'OpenSim/OpenSim.Region/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/ScenePresence.cs | 4 |
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++) |