mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- cl_blockcheats added to 'nocheat' check
This commit is contained in:
parent
88848f1d59
commit
26dd900b3e
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
||||||
EXTERN_CVAR (Bool, ticker);
|
EXTERN_CVAR (Bool, ticker);
|
||||||
EXTERN_CVAR (Bool, noisedebug);
|
EXTERN_CVAR (Bool, noisedebug);
|
||||||
EXTERN_CVAR (Int, am_cheat);
|
EXTERN_CVAR (Int, am_cheat);
|
||||||
|
EXTERN_CVAR (Int, cl_blockcheats);
|
||||||
|
|
||||||
struct cheatseq_t
|
struct cheatseq_t
|
||||||
{
|
{
|
||||||
|
@ -308,7 +309,7 @@ bool ST_Responder (event_t *ev)
|
||||||
{
|
{
|
||||||
bool eat = false;
|
bool eat = false;
|
||||||
|
|
||||||
if (nocheats)
|
if (nocheats || !!cl_blockcheats)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue