From 2e3c902da92a41fa39065972008732b433e78b5d Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 6 May 2011 11:50:26 +0000 Subject: [PATCH] fix overzealous cvar cheat protection, patch by cyrri (#4974) --- code/client/cl_ui.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 577af12d..b8d13c51 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -1125,10 +1125,6 @@ void CL_InitUI( void ) { // init for this gamestate VM_Call( uivm, UI_INIT, (cls.state >= CA_AUTHORIZING && cls.state < CA_ACTIVE) ); } - - // reset any CVAR_CHEAT cvars registered by ui - if ( !clc.demoplaying && !cl_connectedToCheatServer ) - Cvar_SetCheatState(); } #ifndef STANDALONE