aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-17 02:04:20 +0100
committerJustin Clark-Casey (justincc)2011-10-17 02:04:20 +0100
commit62a63f834b7cc056ee37c396034d0e268f66b4a8 (patch)
tree3c004905b9db2915536a29b46beccce66901ea5f /OpenSim/Region/ScriptEngine
parentrename OS_NPC_SIT_IMMEDIATE to OS_NPC_SIT_NOW since it's shorter and more und... (diff)
downloadopensim-SC_OLD-62a63f834b7cc056ee37c396034d0e268f66b4a8.zip
opensim-SC_OLD-62a63f834b7cc056ee37c396034d0e268f66b4a8.tar.gz
opensim-SC_OLD-62a63f834b7cc056ee37c396034d0e268f66b4a8.tar.bz2
opensim-SC_OLD-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')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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