diff options
author | Melanie | 2011-11-10 23:15:03 +0100 |
---|---|---|
committer | Melanie | 2011-11-10 23:42:48 +0000 |
commit | 0daece6f2b8c14f9de02aabfa136135161083bc2 (patch) | |
tree | 778a4cd925013ef67543444d9d3cf172551b020f /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Implement nudging support for strafing motion (diff) | |
download | opensim-SC-0daece6f2b8c14f9de02aabfa136135161083bc2.zip opensim-SC-0daece6f2b8c14f9de02aabfa136135161083bc2.tar.gz opensim-SC-0daece6f2b8c14f9de02aabfa136135161083bc2.tar.bz2 opensim-SC-0daece6f2b8c14f9de02aabfa136135161083bc2.tar.xz |
Fix turn left and turn right properly. Works for both built-ins and LSL AOs
Diffstat (limited to '')
-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 e662492..fdf944b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1387,6 +1387,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1387 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_AT_POS) != 0) | 1387 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_AT_POS) != 0) |
1388 | m_updateCount = UPDATE_COUNT; | 1388 | m_updateCount = UPDATE_COUNT; |
1389 | 1389 | ||
1390 | // Make turning in place work | ||
1391 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_YAW_POS) != 0 || | ||
1392 | (flags & AgentManager.ControlFlags.AGENT_CONTROL_YAW_NEG) != 0) | ||
1393 | m_updateCount = UPDATE_COUNT; | ||
1394 | |||
1390 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_STAND_UP) != 0) | 1395 | if ((flags & AgentManager.ControlFlags.AGENT_CONTROL_STAND_UP) != 0) |
1391 | { | 1396 | { |
1392 | StandUp(); | 1397 | StandUp(); |