summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakers.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-02 07:24:15 -0400
committerOz Linden <oz@lindenlab.com>2011-05-02 07:24:15 -0400
commita32daa0c10b285354e94e0e8bf0cc6c5ffce09a5 (patch)
treec2ba5f181935b95d2f23406c41917401cd4be963 /indra/newview/llspeakers.cpp
parent929bde3ed08f9a1d2a8f4c9821b0d51c11d895e9 (diff)
parent89216a6c213c126b8ab6dacaeb21340fa8f7a001 (diff)
merge changes for vwr-25126
Diffstat (limited to 'indra/newview/llspeakers.cpp')
-rw-r--r--indra/newview/llspeakers.cpp2
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);
}