- cl_blockcheats added to 'nocheat' check

This commit is contained in:
Rachael Alexanderson 2019-11-13 04:45:57 -05:00 committed by drfrag
parent 4878da381b
commit 3c030527af

View file

@ -39,6 +39,7 @@
EXTERN_CVAR (Bool, ticker);
EXTERN_CVAR (Bool, noisedebug);
EXTERN_CVAR (Int, am_cheat);
EXTERN_CVAR (Int, cl_blockcheats);
struct cheatseq_t
{
@ -308,7 +309,7 @@ bool ST_Responder (event_t *ev)
{
bool eat = false;
if (nocheats)
if (nocheats || !!cl_blockcheats)
{
return false;
}