Make it more unlikely that a script teleport will be caught by default region landing point.

This commit is contained in:
AliciaRaven
2016-12-10 18:03:05 +00:00
parent f57403909f
commit d49a5374c3
2 changed files with 2 additions and 2 deletions

View File

@@ -456,7 +456,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
}
// Check Default Location (Also See ScenePresence.CompleteMovement)
if (position.X == 128f && position.Y == 128f)
if (position.X == 128f && position.Y == 128f && position.Z == 22.5f)
position = sp.Scene.RegionInfo.DefaultLandingPoint;
// TODO: Get proper AVG Height