Skip to content
Snippets Groups Projects
Commit 21f3634d authored by Jonathan Yap's avatar Jonathan Yap
Browse files

STORM-1793 Fix dumb syntax error

parent acb1df8b
No related branches found
No related tags found
No related merge requests found
...@@ -1190,19 +1190,18 @@ void LLWorld::getAvatars(uuid_vec_t* avatar_ids, std::vector<LLVector3d>* positi ...@@ -1190,19 +1190,18 @@ void LLWorld::getAvatars(uuid_vec_t* avatar_ids, std::vector<LLVector3d>* positi
LLVOAvatar* pVOAvatar = (LLVOAvatar*) *iter; LLVOAvatar* pVOAvatar = (LLVOAvatar*) *iter;
LLVector3d pos_global = pVOAvatar->getPositionGlobal(); LLVector3d pos_global = pVOAvatar->getPositionGlobal();
LLUUID uuid = pVOAvatar->getID(); LLUUID uuid = pVOAvatar->getID();
if( !pVOAvatar->isDead() && if( !pVOAvatar->isDead()
!pVOAvatar->isSelf() && && !pVOAvatar->isSelf()
!uuid.isNull() && && !uuid.isNull() &&
dist_vec_squared(pos_global, relative_to) <= radius_squared) dist_vec_squared(pos_global, relative_to) <= radius_squared)
{
if(positions != NULL)
{ {
if(positions != NULL) positions->push_back(pos_global);
{ }
positions->push_back(pos_global); if(avatar_ids !=NULL)
} {
if(avatar_ids !=NULL) avatar_ids->push_back(uuid);
{
avatar_ids->push_back(uuid);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment