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:
Monster Iestyn 2018-02-23 20:08:02 +00:00
parent fb3e78c020
commit 6e21059713
1 changed files with 1 additions and 1 deletions

View File

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