mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
- fixed bad operator grouping in cheat code.
This commit is contained in:
parent
5c5799c21f
commit
a12dfbe1d8
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ static bool CheatAddKey (cheatseq_t *cheat, uint8_t key, bool *eat)
|
|||
cheat->Pos = cheat->Sequence;
|
||||
cheat->CurrentArg = 0;
|
||||
}
|
||||
if (*cheat->Pos == '#' && (key >= '0' && key <= '9') || key == ' ')
|
||||
if (*cheat->Pos == '#' && ((key >= '0' && key <= '9') || key == ' '))
|
||||
{
|
||||
*eat = true;
|
||||
cheat->Args[cheat->CurrentArg++] = key == ' ' ? '0' : key;
|
||||
|
|
Loading…
Reference in a new issue