From 26dd900b3ea3febfceafea668069ac7f844accbc Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 13 Nov 2019 04:45:57 -0500 Subject: [PATCH] - cl_blockcheats added to 'nocheat' check --- src/st_stuff.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/st_stuff.cpp b/src/st_stuff.cpp index 99f180bd7f..511232f17f 100644 --- a/src/st_stuff.cpp +++ b/src/st_stuff.cpp @@ -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; }