mirror of https://github.com/ioquake/ioq3.git
fix overzealous cvar cheat protection, patch by cyrri (#4974)
This commit is contained in:
parent
2ae1bf3dcd
commit
2e3c902da9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue