[quake3-commits] r1964 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri May 6 07:50:26 EDT 2011


Author: thilo
Date: 2011-05-06 07:50:26 -0400 (Fri, 06 May 2011)
New Revision: 1964

Modified:
   trunk/code/client/cl_ui.c
Log:
fix overzealous cvar cheat protection, patch by cyrri (#4974)


Modified: trunk/code/client/cl_ui.c
===================================================================
--- trunk/code/client/cl_ui.c	2011-05-06 11:43:07 UTC (rev 1963)
+++ trunk/code/client/cl_ui.c	2011-05-06 11:50:26 UTC (rev 1964)
@@ -1125,10 +1125,6 @@
 		// 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



More information about the quake3-commits mailing list