mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
bd58d1c1b8
commit
1c9666f049
1 changed files with 1 additions and 4 deletions
|
@ -1124,8 +1124,5 @@ Key_ConsoleBindable
|
|||
*/
|
||||
qboolean Key_ConsoleBindable(int key)
|
||||
{
|
||||
if ((key_dest == key_console && !consolekeys[key]) ||
|
||||
(key_dest == key_game && con_forcedup && !consolekeys[key]))
|
||||
return true;
|
||||
return false;
|
||||
return ((key_dest == key_console || (key_dest == key_game && con_forcedup)) && !consolekeys[key]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue