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

@@ -1220,6 +1220,9 @@ namespace OpenSim.Region.Framework.Scenes
}
}
/// <summary>
/// ID of the avatar that is sat on us. If there is no such avatar then is UUID.Zero
/// </summary>
public UUID SitTargetAvatar
{
get { return m_sitTargetAvatar; }
@@ -1886,11 +1889,6 @@ namespace OpenSim.Region.Framework.Scenes
return part;
}
public UUID GetAvatarOnSitTarget()
{
return m_sitTargetAvatar;
}
public bool GetDieAtEdge()
{
if (m_parentGroup.IsDeleted)