keys.c: Simplify Key_ConsoleBindable.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1028 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Sander van Dijk 2014-09-13 08:06:04 +00:00
parent bd58d1c1b8
commit 1c9666f049

View file

@ -1124,8 +1124,5 @@ Key_ConsoleBindable
*/ */
qboolean Key_ConsoleBindable(int key) qboolean Key_ConsoleBindable(int key)
{ {
if ((key_dest == key_console && !consolekeys[key]) || return ((key_dest == key_console || (key_dest == key_game && con_forcedup)) && !consolekeys[key]);
(key_dest == key_game && con_forcedup && !consolekeys[key]))
return true;
return false;
} }