Actually use the SP.AgentControlStopSlowWhilstMoving parameter intoroduced for slow walk/run in 4cfe02a rather than the magic number

varregion
Justin Clark-Casey (justincc) 2013-11-30 01:56:46 +00:00
parent 96018afab4
commit 8ebad90800
1 changed files with 1 additions and 1 deletions

View File

@ -1847,7 +1847,7 @@ namespace OpenSim.Region.Framework.Scenes
float speedModifier;
if (AgentControlStopActive)
speedModifier = 0.5f;
speedModifier = AgentControlStopSlowWhilstMoving;
else
speedModifier = 1;