* Better condition to test whether to use the character or the key

This commit is contained in:
Tim Angus 2008-08-28 23:08:54 +00:00
parent c0328ab4f6
commit 19eb906706
1 changed files with 2 additions and 2 deletions

View File

@ -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++ )