diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lloutputmonitorctrl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lloutputmonitorctrl.cpp b/indra/newview/lloutputmonitorctrl.cpp index d48826779c..1c412b15f7 100644 --- a/indra/newview/lloutputmonitorctrl.cpp +++ b/indra/newview/lloutputmonitorctrl.cpp @@ -167,7 +167,8 @@ void LLOutputMonitorCtrl::draw() F32 power = 0; for (; part_it != participant_uuids.end(); ++part_it) { - if (power = LLVoiceClient::instance().getCurrentPower(*part_it)) + power = LLVoiceClient::instance().getCurrentPower(*part_it); + if (power) { mPower = power; break; |