diff options
author | Melanie | 2011-11-10 23:15:03 +0100 |
---|---|---|
committer | Melanie | 2011-11-10 23:15:03 +0100 |
commit | 008b213ec092aafa59fde39c3e150bfebdac23fe (patch) | |
tree | a8613d4f74e01a16cd1568126c6d7e834a47e7a7 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' into bigmerge (diff) | |
download | opensim-SC_OLD-008b213ec092aafa59fde39c3e150bfebdac23fe.zip opensim-SC_OLD-008b213ec092aafa59fde39c3e150bfebdac23fe.tar.gz opensim-SC_OLD-008b213ec092aafa59fde39c3e150bfebdac23fe.tar.bz2 opensim-SC_OLD-008b213ec092aafa59fde39c3e150bfebdac23fe.tar.xz |
Fix turn left and turn right properly. Works for both built-ins and LSL AOs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c4bd016..fe2dfef 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1392,6 +1392,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1392 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_AT_POS) != 0) | 1392 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_AT_POS) != 0) |
1393 | m_updateCount = UPDATE_COUNT; | 1393 | m_updateCount = UPDATE_COUNT; |
1394 | 1394 | ||
1395 | // Make turning in place work | ||
1396 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_YAW_POS) != 0 || | ||
1397 | (flags & AgentManager.ControlFlags.AGENT_CONTROL_YAW_NEG) != 0) | ||
1398 | m_updateCount = UPDATE_COUNT; | ||
1399 | |||
1395 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_STAND_UP) != 0) | 1400 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_STAND_UP) != 0) |
1396 | { | 1401 | { |
1397 | StandUp(); | 1402 | StandUp(); |