diff options
author | Jonathan Yap <none@none> | 2012-02-03 11:48:00 -0500 |
---|---|---|
committer | Jonathan Yap <none@none> | 2012-02-03 11:48:00 -0500 |
commit | acb1df8b856f49b970a5756bbed24cafad127df8 (patch) | |
tree | 82606fc4c71a2826fad2c0a757258b00d2ebe58e /indra/newview/llworld.cpp | |
parent | f106ef838397f62261e7ec4e94f96848f37acf19 (diff) |
STORM-1793 Fix another logic error in getAvatars
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r-- | indra/newview/llworld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<LLVector3d>* 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); } } } |