aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llvoiceclient.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoiceclient.cpp b/linden/indra/newview/llvoiceclient.cpp
index c05f685..2266aab 100644
--- a/linden/indra/newview/llvoiceclient.cpp
+++ b/linden/indra/newview/llvoiceclient.cpp
@@ -1539,7 +1539,9 @@ void LLVoiceClient::stateMachine()
1539{ 1539{
1540 1540
1541 // Disable voice as long as the viewer is disconnected from the sim (login/relog) 1541 // Disable voice as long as the viewer is disconnected from the sim (login/relog)
1542 setVoiceEnabled(!gDisconnected); 1542 setVoiceEnabled(!gDisconnected
1543 && gSavedSettings.getBOOL("EnableVoiceChat")
1544 && !gSavedSettings.getBOOL("CmdLineDisableVoice") );
1543 1545
1544 if(mVoiceEnabled) 1546 if(mVoiceEnabled)
1545 { 1547 {