summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTwisted Laws twisted_laws@hotmail.com <Twisted Laws twisted_laws@hotmail.com>2011-03-31 16:46:25 -0400
committerTwisted Laws twisted_laws@hotmail.com <Twisted Laws twisted_laws@hotmail.com>2011-03-31 16:46:25 -0400
commitc9c192e2c476e73807d23cdda0814cb221a96b95 (patch)
treec2d09d6e44817f62effdd85b6231f572c6877824 /indra
parent03c9c4da848b4e75055828a6d8df1d64d382928a (diff)
Storm 954 - corrected use of braces
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llworld.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 8ace747d60..6a2b4cf0a5 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -1469,9 +1469,13 @@ void LLWorld::getAvatars(uuid_vec_t* avatar_ids, std::vector<LLVector3d>* positi
if(dist_vec(pos_global, relative_to) <= radius)
{
if(positions != NULL)
+ {
positions->push_back(pos_global);
+ }
if(avatar_ids !=NULL)
+ {
avatar_ids->push_back(uuid);
+ }
}
}
}