refactor: Use SOP.SitTargetAvatar instead of calling a special GetAvatarOnSitTarget() which returned exactly the same thing

This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-17 02:04:20 +01:00
parent 79c13cd997
commit 62a63f834b
3 changed files with 10 additions and 11 deletions

View File

@@ -6348,7 +6348,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_String llAvatarOnSitTarget()
{
m_host.AddScriptLPS(1);
return m_host.GetAvatarOnSitTarget().ToString();
return m_host.SitTargetAvatar.ToString();
}
// http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget