aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorBlueWall2015-03-02 20:09:22 -0500
committerBlueWall2015-03-02 20:09:22 -0500
commit7e8bad05ec6150e082fb634e3210b83c33dbcfe7 (patch)
treeebd273c3d9230be258468ef3627a634d324981e1 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentAdd FreakyTech to CONTRIBUTORS.txt (diff)
downloadopensim-SC-7e8bad05ec6150e082fb634e3210b83c33dbcfe7.zip
opensim-SC-7e8bad05ec6150e082fb634e3210b83c33dbcfe7.tar.gz
opensim-SC-7e8bad05ec6150e082fb634e3210b83c33dbcfe7.tar.bz2
opensim-SC-7e8bad05ec6150e082fb634e3210b83c33dbcfe7.tar.xz
Fix erratic Npc movement
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
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
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)) 3147 if (!(Flying && m_mouseLook) && (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 in mouselook 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