fix overzealous cvar cheat protection, patch by cyrri (#4974)

This commit is contained in:
Thilo Schulz 2011-05-06 11:50:26 +00:00
parent 2ae1bf3dcd
commit 2e3c902da9

View file

@ -1125,10 +1125,6 @@ void CL_InitUI( void ) {
// init for this gamestate // init for this gamestate
VM_Call( uivm, UI_INIT, (cls.state >= CA_AUTHORIZING && cls.state < CA_ACTIVE) ); 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 #ifndef STANDALONE