diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index d5225f7..787d951 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -479,6 +479,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
479 | // agent must be over owners land to avoid abuse | 479 | // agent must be over owners land to avoid abuse |
480 | if (m_host.OwnerID == World.GetLandOwner(presence.AbsolutePosition.X, presence.AbsolutePosition.Y)) | 480 | if (m_host.OwnerID == World.GetLandOwner(presence.AbsolutePosition.X, presence.AbsolutePosition.Y)) |
481 | { | 481 | { |
482 | presence.ControllingClient.SendTeleportLocationStart(); | ||
482 | World.RequestTeleportLocation(presence.ControllingClient, regionName, | 483 | World.RequestTeleportLocation(presence.ControllingClient, regionName, |
483 | new Vector3((float)position.x, (float)position.y, (float)position.z), | 484 | new Vector3((float)position.x, (float)position.y, (float)position.z), |
484 | new Vector3((float)lookat.x, (float)lookat.y, (float)lookat.z), (uint)TPFlags.ViaLocation); | 485 | new Vector3((float)lookat.x, (float)lookat.y, (float)lookat.z), (uint)TPFlags.ViaLocation); |