aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
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/Framework/Scenes/SceneObjectPart.cs
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/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 703b986..c25c3b4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1220,6 +1220,9 @@ namespace OpenSim.Region.Framework.Scenes
1220 } 1220 }
1221 } 1221 }
1222 1222
1223 /// <summary>
1224 /// ID of the avatar that is sat on us. If there is no such avatar then is UUID.Zero
1225 /// </summary>
1223 public UUID SitTargetAvatar 1226 public UUID SitTargetAvatar
1224 { 1227 {
1225 get { return m_sitTargetAvatar; } 1228 get { return m_sitTargetAvatar; }
@@ -1886,11 +1889,6 @@ namespace OpenSim.Region.Framework.Scenes
1886 return part; 1889 return part;
1887 } 1890 }
1888 1891
1889 public UUID GetAvatarOnSitTarget()
1890 {
1891 return m_sitTargetAvatar;
1892 }
1893
1894 public bool GetDieAtEdge() 1892 public bool GetDieAtEdge()
1895 { 1893 {
1896 if (m_parentGroup.IsDeleted) 1894 if (m_parentGroup.IsDeleted)