avoid setting cvars by name each frame
This commit is contained in:
parent
9b1a3387cb
commit
6f9b34ef75
5 changed files with 22 additions and 13 deletions
|
@ -321,8 +321,6 @@ void CL_CaptureVoip(void)
|
|||
dontCapture = qtrue; // not connected to a server.
|
||||
else if (!cl_connectedToVoipServer)
|
||||
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 ( cl_voip->integer == 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue