mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
Don't allow client to capture audio if playing back a demo.
This commit is contained in:
parent
fc060fbebb
commit
e0ebde0b27
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 (clc.demoplaying)
|
||||
dontCapture = qtrue; // playing back a demo.
|
||||
else if ( voip->integer == 0 )
|
||||
dontCapture = qtrue; // client has VoIP support disabled.
|
||||
|
||||
|
|
Loading…
Reference in a new issue