aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2016-01-01 23:03:46 +0000
committerUbitUmarov2016-01-01 23:03:46 +0000
commitf8f28311bf8e5fc54f0cc70593db6f166a97cbc9 (patch)
tree819467eebd121d04b3782f8257ac0088f3893b6e /OpenSim
parentAdd locking around stats record fetch to resolve Mantis 7793. (diff)
downloadopensim-SC-f8f28311bf8e5fc54f0cc70593db6f166a97cbc9.zip
opensim-SC-f8f28311bf8e5fc54f0cc70593db6f166a97cbc9.tar.gz
opensim-SC-f8f28311bf8e5fc54f0cc70593db6f166a97cbc9.tar.bz2
opensim-SC-f8f28311bf8e5fc54f0cc70593db6f166a97cbc9.tar.xz
stop avatar move to target on parcel ban enforce
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 65aabac..5100064 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -414,6 +414,8 @@ namespace OpenSim.Region.CoreModules.World.Land
414 if (!position.HasValue) 414 if (!position.HasValue)
415 return; 415 return;
416 416
417 if(avatar.MovingToTarget)
418 avatar.ResetMoveToTarget();
417 avatar.AbsolutePosition = position.Value; 419 avatar.AbsolutePosition = position.Value;
418 avatar.lastKnownAllowedPosition = position.Value; 420 avatar.lastKnownAllowedPosition = position.Value;
419 avatar.Velocity = Vector3.Zero; 421 avatar.Velocity = Vector3.Zero;