mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
refactor: Use SOP.SitTargetAvatar instead of calling a special GetAvatarOnSitTarget() which returned exactly the same thing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user