mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +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
|
// Use the character in preference to the key name
|
||||||
if( key >= K_SPACE && key < K_BACKSPACE )
|
if( *buf )
|
||||||
key = 0;
|
key = 0;
|
||||||
|
|
||||||
for( i = 0; i < numConsoleKeys; i++ )
|
for( i = 0; i < numConsoleKeys; i++ )
|
||||||
|
|
Loading…
Reference in a new issue