aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs1
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index eefb8e6..123f98f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3444,7 +3444,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3444 { 3444 {
3445 // agent must be over the owners land 3445 // agent must be over the owners land
3446 if (m_host.OwnerID == World.GetLandOwner(presence.AbsolutePosition.X, presence.AbsolutePosition.Y)) 3446 if (m_host.OwnerID == World.GetLandOwner(presence.AbsolutePosition.X, presence.AbsolutePosition.Y))
3447 {
3448 presence.ControllingClient.SendTeleportLocationStart();
3447 World.TeleportClientHome(agentId, presence.ControllingClient); 3449 World.TeleportClientHome(agentId, presence.ControllingClient);
3450 }
3448 } 3451 }
3449 } 3452 }
3450 // ScriptSleep(5000); 3453 // ScriptSleep(5000);
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);