diff options
author | Justin Clark-Casey (justincc) | 2013-11-30 01:56:46 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-30 01:56:46 +0000 |
commit | 8ebad908008d098dd01f2218e3e125e54ce2c784 (patch) | |
tree | d6fef6dfed8571e5f113dfa39e196cc30d95f905 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Remove unused SP.Updated flag, which appears unused for many years and was on... (diff) | |
download | opensim-SC-8ebad908008d098dd01f2218e3e125e54ce2c784.zip opensim-SC-8ebad908008d098dd01f2218e3e125e54ce2c784.tar.gz opensim-SC-8ebad908008d098dd01f2218e3e125e54ce2c784.tar.bz2 opensim-SC-8ebad908008d098dd01f2218e3e125e54ce2c784.tar.xz |
Actually use the SP.AgentControlStopSlowWhilstMoving parameter intoroduced for slow walk/run in 4cfe02a rather than the magic number
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-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 d74d92b..1dc7e20 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1847,7 +1847,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1847 | float speedModifier; | 1847 | float speedModifier; |
1848 | 1848 | ||
1849 | if (AgentControlStopActive) | 1849 | if (AgentControlStopActive) |
1850 | speedModifier = 0.5f; | 1850 | speedModifier = AgentControlStopSlowWhilstMoving; |
1851 | else | 1851 | else |
1852 | speedModifier = 1; | 1852 | speedModifier = 1; |
1853 | 1853 | ||