Allow adjusting VoIP gain and mute during demo playback

This commit is contained in:
Zack Middleton 2013-06-04 23:02:23 -05:00
parent 21c93736b8
commit e89a1b9f8e
1 changed files with 5 additions and 5 deletions

View File

@ -352,11 +352,6 @@ void CL_SystemInfoChanged( void ) {
// in some cases, outdated cp commands might get sent with this news serverId
cl.serverId = atoi( Info_ValueForKey( systemInfo, "sv_serverid" ) );
// don't set any vars when playing a demo
if ( clc.demoplaying ) {
return;
}
#ifdef USE_VOIP
#ifdef LEGACY_PROTOCOL
if(clc.compat)
@ -369,6 +364,11 @@ void CL_SystemInfoChanged( void ) {
}
#endif
// don't set any vars when playing a demo
if ( clc.demoplaying ) {
return;
}
s = Info_ValueForKey( systemInfo, "sv_cheats" );
cl_connectedToCheatServer = atoi( s );
if ( !cl_connectedToCheatServer ) {