mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- fixed the cheat handler.
This commit is contained in:
parent
6df64f4ee3
commit
8a5427abed
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#include "HuffmanVLC.h"
|
||||
#include "LogError.h"
|
||||
#include "printf.h"
|
||||
#include "limits.h"
|
||||
#include <assert.h>
|
||||
#include <algorithm>
|
||||
|
||||
|
|
Loading…
Reference in a new issue