mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Don't send Char_Event to Console if it isn't opened
This commit is contained in:
parent
0fb8d80507
commit
4a762c0002
1 changed files with 3 additions and 1 deletions
|
@ -966,10 +966,12 @@ Char_Event(int key)
|
|||
break;
|
||||
|
||||
/* Console */
|
||||
case key_game:
|
||||
case key_console:
|
||||
Key_Console(key);
|
||||
break;
|
||||
|
||||
default: /* incl. key_game */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue