diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-05-04 11:17:19 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-05-04 11:17:19 -0700 |
commit | 90cad613b029f71a131303d6efaadd22aba21626 (patch) | |
tree | 2d2c48fa6f69a478b51ded1b8da578e2a43c5cfe /indra/newview/llspeakers.cpp | |
parent | f3bb2e31dc6a1e8e02854a70db4ecd4cf586d4ba (diff) | |
parent | 3f9253e783826bbe27a995786be8305f8ecb2d6d (diff) |
hg merge
Diffstat (limited to 'indra/newview/llspeakers.cpp')
-rw-r--r-- | indra/newview/llspeakers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index 40aea05839..c588bd8fb4 100644 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -920,7 +920,7 @@ void LLLocalSpeakerMgr::updateSpeakerList() if (speakerp->mStatus == LLSpeaker::STATUS_TEXT_ONLY) { LLVOAvatar* avatarp = (LLVOAvatar*)gObjectList.findObject(speaker_id); - if (!avatarp || dist_vec(avatarp->getPositionAgent(), gAgent.getPositionAgent()) > CHAT_NORMAL_RADIUS) + if (!avatarp || dist_vec_squared(avatarp->getPositionAgent(), gAgent.getPositionAgent()) > CHAT_NORMAL_RADIUS_SQUARED) { setSpeakerNotInChannel(speakerp); } |