diff --git a/libs/video/targets/keys.c b/libs/video/targets/keys.c index ffdef3ee4..c121f9fd2 100644 --- a/libs/video/targets/keys.c +++ b/libs/video/targets/keys.c @@ -421,8 +421,7 @@ void Key_Console (knum_t key, short unicode) { // escape is un-bindable - if (keydown[key] == 1 && key != QFK_ESCAPE && unicode != '\x1b' - && Key_Game (key, unicode)) + if (keydown[key] == 1 && key && Key_Game (key, unicode)) return; Con_KeyEvent (key, unicode, keydown[key]);