mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Make the estate setting "Allow direct teleport" override the constraint
of local tepeports to landing points like it is meant to
This commit is contained in:
@@ -4426,6 +4426,9 @@ if (m_animator.m_jumping) force.Z = m_animator.m_jumpVelocity; // add for ju
|
||||
if ((TeleportFlags & TeleportFlags.ViaLure) != 0)
|
||||
return;
|
||||
|
||||
if (m_scene.RegionInfo.EstateSettings.AllowDirectTeleport)
|
||||
return;
|
||||
|
||||
ILandObject land = m_scene.LandChannel.GetLandObject(pos.X, pos.Y);
|
||||
|
||||
if (land.LandData.LandingType == (byte)LandingType.LandingPoint &&
|
||||
|
||||
Reference in New Issue
Block a user