keys: allow autorepeat for menu and console for any keys

This commit is contained in:
Alibek Omarov 2019-01-30 21:47:05 +03:00
parent 74f935d94f
commit 8770bdc694
1 changed files with 4 additions and 1 deletions

View File

@ -527,8 +527,11 @@ Key_IsAllowedAutoRepeat
List of keys that allows auto-repeat
===================
*/
qboolean Key_IsAllowedAutoRepeat( int key )
static qboolean Key_IsAllowedAutoRepeat( int key )
{
if( cls.key_dest != key_game )
return true;
switch( key )
{
case K_BACKSPACE: