Actually use the SP.AgentControlStopSlowWhilstMoving parameter intoroduced for slow walk/run in 4cfe02a rather than the magic number
parent
96018afab4
commit
8ebad90800
|
@ -1847,7 +1847,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
float speedModifier;
|
||||
|
||||
if (AgentControlStopActive)
|
||||
speedModifier = 0.5f;
|
||||
speedModifier = AgentControlStopSlowWhilstMoving;
|
||||
else
|
||||
speedModifier = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue