STORM-1793 Fix another logic error in getAvatars

meow-7.2.2
Jonathan Yap 2012-02-03 11:48:00 -05:00
parent f106ef8383
commit acb1df8b85
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}