Fix erratic Npc movement
parent
1a56f42d0a
commit
7e8bad05ec
|
@ -3144,7 +3144,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// vec, Rotation, thisAddSpeedModifier, Name);
|
// vec, Rotation, thisAddSpeedModifier, Name);
|
||||||
|
|
||||||
Quaternion rot = Rotation;
|
Quaternion rot = Rotation;
|
||||||
if (!(Flying && m_mouseLook))
|
if (!(Flying && m_mouseLook) && (PresenceType != PresenceType.Npc))
|
||||||
{
|
{
|
||||||
// The only situation in which we care about X and Y is in mouselook flying. The rest of the time
|
// The only situation in which we care about X and Y is in mouselook flying. The rest of the time
|
||||||
// these parameters are not relevant for determining avatar movement direction and cause issues such
|
// these parameters are not relevant for determining avatar movement direction and cause issues such
|
||||||
|
|
Loading…
Reference in New Issue