stop avatar move to target on parcel ban enforce

LSLKeyTest
UbitUmarov 2016-01-01 23:03:46 +00:00
parent 7831d219d7
commit f8f28311bf
1 changed files with 2 additions and 0 deletions

View File

@ -414,6 +414,8 @@ namespace OpenSim.Region.CoreModules.World.Land
if (!position.HasValue)
return;
if(avatar.MovingToTarget)
avatar.ResetMoveToTarget();
avatar.AbsolutePosition = position.Value;
avatar.lastKnownAllowedPosition = position.Value;
avatar.Velocity = Vector3.Zero;