diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 2 |
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; |