- fixed the cheat handler.

This commit is contained in:
Christoph Oelckers 2020-07-25 17:25:21 +02:00
parent 6df64f4ee3
commit 8a5427abed
2 changed files with 2 additions and 1 deletions

View file

@ -104,7 +104,7 @@ bool Cheat_Responder (event_t *ev)
{
if (CheatAddKey (cheats, (uint8_t)ev->data2, &eat))
{
if (cheats->DontCheck || !CheckCheatmode ())
if (cheats->DontCheck || CheckCheatmode ())
{
eat |= cheats->Handler (cheats);
}

View file

@ -46,6 +46,7 @@
#include "HuffmanVLC.h"
#include "LogError.h"
#include "printf.h"
#include "limits.h"
#include <assert.h>
#include <algorithm>