From acb1df8b856f49b970a5756bbed24cafad127df8 Mon Sep 17 00:00:00 2001 From: Jonathan Yap Date: Fri, 3 Feb 2012 11:48:00 -0500 Subject: STORM-1793 Fix another logic error in getAvatars --- indra/newview/llworld.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llworld.cpp') diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index bbe440e14f..5b2e78477c 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -1222,11 +1222,11 @@ void LLWorld::getAvatars(uuid_vec_t* avatar_ids, std::vector* positi // if this avatar doesn't already exist in the list, add it if(uuid.notNull() && avatar_ids != NULL && std::find(avatar_ids->begin(), avatar_ids->end(), uuid) == avatar_ids->end()) { - if(positions != NULL) + if (positions != NULL) { positions->push_back(pos_global); - avatar_ids->push_back(uuid); } + avatar_ids->push_back(uuid); } } } -- cgit v1.2.3