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

This commit is contained in:
Tim Angus committed 2008-08-28 23:08:54 +00:00
1 parent c0328ab4f6
commit 19eb906706
1 file changed
+2 -2
+2 -2
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++ )