mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Client shouldn't try to capture audio data if voip cvar is disabled.
This commit is contained in:
parent
12326a9eac
commit
a948f7cf69
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ void CL_CaptureVoip(void)
|
|||
dontCapture = qtrue; // server doesn't support VoIP.
|
||||
else if ( Cvar_VariableValue( "g_gametype" ) == GT_SINGLE_PLAYER || Cvar_VariableValue("ui_singlePlayerActive"))
|
||||
dontCapture = qtrue; // single player game.
|
||||
else if ( voip->integer == 0 )
|
||||
dontCapture = qtrue; // client has VoIP support disabled.
|
||||
|
||||
cl_voipSend->modified = qfalse;
|
||||
|
||||
|
|
Loading…
Reference in a new issue