Initialise m_initialSitTarget to ZERO_VACTOR for safety's sake as per convo with kitto

This commit is contained in:
Tom Grimshaw
2010-05-19 14:04:44 -07:00
parent 6933b48a7e
commit 5532341bf9

View File

@@ -213,7 +213,7 @@ namespace OpenSim.Region.Framework.Scenes
private bool m_autopilotMoving;
private Vector3 m_autoPilotTarget;
private bool m_sitAtAutoTarget;
private Vector3 m_initialSitTarget; //KF: First estimate of where to sit
private Vector3 m_initialSitTarget = Vector3.Zero; //KF: First estimate of where to sit
private string m_nextSitAnimation = String.Empty;