Fix erratic Npc movement

0.8.1-post-fixes
BlueWall 2015-03-02 20:09:22 -05:00
parent 1a56f42d0a
commit 7e8bad05ec
1 changed files with 1 additions and 1 deletions

View File

@ -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