diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-05-06 11:50:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-09 21:38:37 +0000 |
commit | c1555cf88d8ed6d4e1cc3d302148fbaf6cca39a4 (patch) | |
tree | 38de2685a3b552a4f721cad85c412cec30d32eaa /src/client/cl_ui.c | |
parent | e0a6aceec0f66b5fd1f72705f27d3d50695bebe7 (diff) |
fix overzealous cvar cheat protection, patch by cyrri (#4974)
Diffstat (limited to 'src/client/cl_ui.c')
-rw-r--r-- | src/client/cl_ui.c | 6 |
1 files changed, 1 insertions, 5 deletions
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'; } /* |