osLocalTeleportAgent: if lookat or fly options, just move the avatar, not telling viewer about any teleport

0.9.1.0-post-fixes
UbitUmarov 2019-05-03 00:39:55 +01:00
parent 3a055c578d
commit 3ae4115e43
1 changed files with 35 additions and 30 deletions

View File

@ -1776,6 +1776,8 @@ namespace OpenSim.Region.Framework.Scenes
if (newpos.Z < posZLimit)
newpos.Z = posZLimit;
if((flags & 0x1e) != 0)
{
if ((flags & 8) != 0)
Flying = true;
else if ((flags & 16) != 0)
@ -1808,6 +1810,9 @@ namespace OpenSim.Region.Framework.Scenes
AbsolutePosition = newpos;
ControllingClient.SendLocalTeleport(newpos, lookat, tpflags);
}
else
AbsolutePosition = newpos;
if ((flags & 1) != 0)
{