mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 13:12:07 +00:00
* Better condition to test whether to use the character or the key
This commit is contained in:
parent
c0328ab4f6
commit
19eb906706
1 changed files with 2 additions and 2 deletions
|
@ -146,8 +146,8 @@ static qboolean IN_IsConsoleKey( keyNum_t key, const char *buf )
|
|||
}
|
||||
}
|
||||
|
||||
// If key is ASCII, use the character instead
|
||||
if( key >= K_SPACE && key < K_BACKSPACE )
|
||||
// Use the character in preference to the key name
|
||||
if( *buf )
|
||||
key = 0;
|
||||
|
||||
for( i = 0; i < numConsoleKeys; i++ )
|
||||
|
|
Loading…
Reference in a new issue