make K_ESCAPE bindable

This commit is contained in:
Bill Currie 2002-01-19 02:29:29 +00:00
parent 7def88668a
commit 15e7e35a57

View file

@ -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]);