summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-10-23 14:37:25 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-10-23 14:37:25 -0400
commit70e0ca48925fcaff20096906ab96a7a794c731c2 (patch)
tree40816744123ef852fdf70629b144b11c65e4e441 /indra
parent7fda8f8d0b5c96b9264b0b3752666d866b64146b (diff)
Disambiguate (LLSD != UUID).
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llagentlistener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentlistener.cpp b/indra/newview/llagentlistener.cpp
index 6c539ade9b..2810cd6706 100644
--- a/indra/newview/llagentlistener.cpp
+++ b/indra/newview/llagentlistener.cpp
@@ -824,7 +824,7 @@ void LLAgentListener::getAgentScreenPos(LLSD const& event_data)
{
Response response(LLSD(), event_data);
LLVector3 render_pos;
- if (event_data.has("avatar_id") && (event_data["avatar_id"] != gAgentID))
+ if (event_data.has("avatar_id") && (event_data["avatar_id"].asUUID() != gAgentID))
{
LLUUID avatar_id(event_data["avatar_id"]);
for (LLCharacter* character : LLCharacter::sInstances)