keys: allow autorepeat for menu and console for any keys
This commit is contained in:
parent
74f935d94f
commit
8770bdc694
1 changed files with 4 additions and 1 deletions
|
@ -527,8 +527,11 @@ Key_IsAllowedAutoRepeat
|
||||||
List of keys that allows auto-repeat
|
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 )
|
switch( key )
|
||||||
{
|
{
|
||||||
case K_BACKSPACE:
|
case K_BACKSPACE:
|
||||||
|
|
Loading…
Add table
Reference in a new issue