diff options
author | Justin Clark-Casey (justincc) | 2013-03-14 23:19:18 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-14 23:19:18 +0000 |
commit | 2fbc08d7dd30b16b3cf5198e175353ea49f08d91 (patch) | |
tree | 5e837432fe8a7292c25d69c780e820dc75a09620 | |
parent | Fix bug in osCauseHealing() if called with an avatar ID for an avatar that is... (diff) | |
download | opensim-SC_OLD-2fbc08d7dd30b16b3cf5198e175353ea49f08d91.zip opensim-SC_OLD-2fbc08d7dd30b16b3cf5198e175353ea49f08d91.tar.gz opensim-SC_OLD-2fbc08d7dd30b16b3cf5198e175353ea49f08d91.tar.bz2 opensim-SC_OLD-2fbc08d7dd30b16b3cf5198e175353ea49f08d91.tar.xz |
refactor: minor cleanup in osGetAvatarList()
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index a6dca61..bf1b45b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -3100,8 +3100,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3100 | if (avatar != null && avatar.UUID != m_host.OwnerID) | 3100 | if (avatar != null && avatar.UUID != m_host.OwnerID) |
3101 | { | 3101 | { |
3102 | result.Add(new LSL_String(avatar.UUID.ToString())); | 3102 | result.Add(new LSL_String(avatar.UUID.ToString())); |
3103 | OpenMetaverse.Vector3 ap = avatar.AbsolutePosition; | 3103 | result.Add(new LSL_Vector(avatar.AbsolutePosition)); |
3104 | result.Add(new LSL_Vector(ap.X, ap.Y, ap.Z)); | ||
3105 | result.Add(new LSL_String(avatar.Name)); | 3104 | result.Add(new LSL_String(avatar.Name)); |
3106 | } | 3105 | } |
3107 | }); | 3106 | }); |