diff options
author | Tom Grimshaw | 2010-05-19 14:04:44 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-19 14:04:44 -0700 |
commit | 5532341bf9e477a007e81bdbcc6477923703e2a2 (patch) | |
tree | c3ae57a29bb53b13dad8fd7a905335e9a01752f4 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Fix a nullref issue in SitAltitudeCallback (diff) | |
download | opensim-SC-5532341bf9e477a007e81bdbcc6477923703e2a2.zip opensim-SC-5532341bf9e477a007e81bdbcc6477923703e2a2.tar.gz opensim-SC-5532341bf9e477a007e81bdbcc6477923703e2a2.tar.bz2 opensim-SC-5532341bf9e477a007e81bdbcc6477923703e2a2.tar.xz |
Initialise m_initialSitTarget to ZERO_VACTOR for safety's sake as per convo with kitto
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index b6081de..c89f656 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -213,7 +213,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
213 | private bool m_autopilotMoving; | 213 | private bool m_autopilotMoving; |
214 | private Vector3 m_autoPilotTarget; | 214 | private Vector3 m_autoPilotTarget; |
215 | private bool m_sitAtAutoTarget; | 215 | private bool m_sitAtAutoTarget; |
216 | private Vector3 m_initialSitTarget; //KF: First estimate of where to sit | 216 | private Vector3 m_initialSitTarget = Vector3.Zero; //KF: First estimate of where to sit |
217 | 217 | ||
218 | private string m_nextSitAnimation = String.Empty; | 218 | private string m_nextSitAnimation = String.Empty; |
219 | 219 | ||