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;
|
float speedModifier;
|
||||||
|
|
||||||
if (AgentControlStopActive)
|
if (AgentControlStopActive)
|
||||||
speedModifier = 0.5f;
|
speedModifier = AgentControlStopSlowWhilstMoving;
|
||||||
else
|
else
|
||||||
speedModifier = 1;
|
speedModifier = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue