From 7e8bad05ec6150e082fb634e3210b83c33dbcfe7 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Mon, 2 Mar 2015 20:09:22 -0500 Subject: Fix erratic Npc movement --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 35eaea0..b0aa434 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3144,7 +3144,7 @@ namespace OpenSim.Region.Framework.Scenes // vec, Rotation, thisAddSpeedModifier, Name); 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 // these parameters are not relevant for determining avatar movement direction and cause issues such -- cgit v1.1