diff options
Diffstat (limited to 'src/client/cl_parse.c')
-rw-r--r-- | src/client/cl_parse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/cl_parse.c b/src/client/cl_parse.c index e09e7f02..077a6218 100644 --- a/src/client/cl_parse.c +++ b/src/client/cl_parse.c @@ -353,16 +353,16 @@ 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 s = Info_ValueForKey( systemInfo, "sv_voip" ); clc.voipEnabled = atoi(s); #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 ) { |