diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index b0aa434829..cb6adb2469 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3144,9 +3144,9 @@ namespace OpenSim.Region.Framework.Scenes // vec, Rotation, thisAddSpeedModifier, Name); Quaternion rot = Rotation; - if (!(Flying && m_mouseLook) && (PresenceType != PresenceType.Npc)) + if (!Flying && 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 avatar flying. The rest of the time // these parameters are not relevant for determining avatar movement direction and cause issues such // as wrong walk speed if the camera is rotated. rot.X = 0;