From c1555cf88d8ed6d4e1cc3d302148fbaf6cca39a4 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 6 May 2011 11:50:26 +0000 Subject: fix overzealous cvar cheat protection, patch by cyrri (#4974) --- src/client/cl_ui.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/client/cl_ui.c') diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c index edf5ef35..8ee5d1b4 100644 --- a/src/client/cl_ui.c +++ b/src/client/cl_ui.c @@ -1117,11 +1117,7 @@ void CL_InitUI( void ) { Cmd_ExecuteString( "which ui/\n" ); } - // reset any CVAR_CHEAT cvars registered by ui - if ( !clc.demoplaying && !cl_connectedToCheatServer ) - Cvar_SetCheatState(); - - clc.newsString[ 0 ] = '\0'; + clc.newsString[ 0 ] = '\0'; } /* -- cgit