diff options
author | Justin Clark-Casey (justincc) | 2011-10-17 02:04:20 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-17 02:04:20 +0100 |
commit | 62a63f834b7cc056ee37c396034d0e268f66b4a8 (patch) | |
tree | 3c004905b9db2915536a29b46beccce66901ea5f /OpenSim/Region/ScriptEngine/Shared | |
parent | rename OS_NPC_SIT_IMMEDIATE to OS_NPC_SIT_NOW since it's shorter and more und... (diff) | |
download | opensim-SC-62a63f834b7cc056ee37c396034d0e268f66b4a8.zip opensim-SC-62a63f834b7cc056ee37c396034d0e268f66b4a8.tar.gz opensim-SC-62a63f834b7cc056ee37c396034d0e268f66b4a8.tar.bz2 opensim-SC-62a63f834b7cc056ee37c396034d0e268f66b4a8.tar.xz |
refactor: Use SOP.SitTargetAvatar instead of calling a special GetAvatarOnSitTarget() which returned exactly the same thing
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 53c9297..54bb62f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6348,7 +6348,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6348 | public LSL_String llAvatarOnSitTarget() | 6348 | public LSL_String llAvatarOnSitTarget() |
6349 | { | 6349 | { |
6350 | m_host.AddScriptLPS(1); | 6350 | m_host.AddScriptLPS(1); |
6351 | return m_host.GetAvatarOnSitTarget().ToString(); | 6351 | return m_host.SitTargetAvatar.ToString(); |
6352 | } | 6352 | } |
6353 | 6353 | ||
6354 | // http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget | 6354 | // http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget |