diff options
author | BlueWall | 2015-03-02 20:09:22 -0500 |
---|---|---|
committer | BlueWall | 2015-03-02 20:09:22 -0500 |
commit | 7e8bad05ec6150e082fb634e3210b83c33dbcfe7 (patch) | |
tree | ebd273c3d9230be258468ef3627a634d324981e1 /OpenSim/Region/Framework/Scenes | |
parent | Add FreakyTech to CONTRIBUTORS.txt (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
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 |