fix a buggy

This commit is contained in:
Drake Arconis
2013-05-05 18:23:26 -07:00
parent 73b10e6b29
commit 36416743d4

View File

@@ -1051,7 +1051,9 @@ void LLSpeakerMgr::update(BOOL resort_ok)
{
LLUUID speaker_id = speaker_it->first;
LLSpeaker* speakerp = speaker_it->second;
speaker_it++;
if (voice_channel_active && gVoiceClient->getVoiceEnabled(speaker_id))
{
speakerp->mSpeechVolume = gVoiceClient->getCurrentPower(speaker_id);