From 15e7e35a57c4eac20e387675ea8ce6276a4aa6de Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 19 Jan 2002 02:29:29 +0000 Subject: [PATCH] make K_ESCAPE bindable --- libs/video/targets/keys.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]);