refactor: minor cleanup in osGetAvatarList()

0.7.4-extended
Justin Clark-Casey (justincc) 2013-03-14 23:19:18 +00:00
parent 9f1aac82b2
commit 3098ad4ab9
1 changed files with 1 additions and 2 deletions

View File

@ -3025,8 +3025,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (avatar != null && avatar.UUID != m_host.OwnerID) if (avatar != null && avatar.UUID != m_host.OwnerID)
{ {
result.Add(new LSL_String(avatar.UUID.ToString())); result.Add(new LSL_String(avatar.UUID.ToString()));
OpenMetaverse.Vector3 ap = avatar.AbsolutePosition; result.Add(new LSL_Vector(avatar.AbsolutePosition));
result.Add(new LSL_Vector(ap.X, ap.Y, ap.Z));
result.Add(new LSL_String(avatar.Name)); result.Add(new LSL_String(avatar.Name));
} }
}); });