diff options
author | Homer Horwitz | 2008-11-06 20:38:34 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-11-06 20:38:34 +0000 |
commit | 1df67a37dcab61d22516cd2aeb6b895e703d49b8 (patch) | |
tree | ef8492a3d21b47e54d6c0bfda2a9597d7ce1ea46 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | * minor: Make some 'startup config failed to load' log messages more consistent (diff) | |
download | opensim-SC_OLD-1df67a37dcab61d22516cd2aeb6b895e703d49b8.zip opensim-SC_OLD-1df67a37dcab61d22516cd2aeb6b895e703d49b8.tar.gz opensim-SC_OLD-1df67a37dcab61d22516cd2aeb6b895e703d49b8.tar.bz2 opensim-SC_OLD-1df67a37dcab61d22516cd2aeb6b895e703d49b8.tar.xz |
Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.
As those aren't viewer-initiated TPs, the viewer has to be informed.
This should fix Mantis #2351 and #2397.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 3 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); |