aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index b0aa434..cb6adb2 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3144,9 +3144,9 @@ namespace OpenSim.Region.Framework.Scenes
3144// vec, Rotation, thisAddSpeedModifier, Name); 3144// vec, Rotation, thisAddSpeedModifier, Name);
3145 3145
3146 Quaternion rot = Rotation; 3146 Quaternion rot = Rotation;
3147 if (!(Flying && m_mouseLook) && (PresenceType != PresenceType.Npc)) 3147 if (!Flying && PresenceType != PresenceType.Npc)
3148 { 3148 {
3149 // The only situation in which we care about X and Y is in mouselook flying. The rest of the time 3149 // The only situation in which we care about X and Y is avatar flying. The rest of the time
3150 // these parameters are not relevant for determining avatar movement direction and cause issues such 3150 // these parameters are not relevant for determining avatar movement direction and cause issues such
3151 // as wrong walk speed if the camera is rotated. 3151 // as wrong walk speed if the camera is rotated.
3152 rot.X = 0; 3152 rot.X = 0;