osLocalTeleportAgent: if lookat or fly options, just move the avatar, not telling viewer about any teleport
parent
3a055c578d
commit
3ae4115e43
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue