mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 13:21:31 +00:00
Eat unprintable keys too, since there's no reason to feed them to G_Responder anyway when the console is open
This commit is contained in:
parent
fb3e78c020
commit
6e21059713
1 changed files with 1 additions and 1 deletions
|
@ -1043,7 +1043,7 @@ boolean CON_Responder(event_t *ev)
|
|||
|
||||
// enter a char into the command prompt
|
||||
if (key < 32 || key > 127)
|
||||
return false;
|
||||
return true; // even if key can't be printed, eat it anyway
|
||||
|
||||
// add key to cmd line here
|
||||
if (key >= 'A' && key <= 'Z' && !shiftdown) //this is only really necessary for dedicated servers
|
||||
|
|
Loading…
Reference in a new issue