mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-04 10:21:32 +00:00
CON_Responder: *also* use CON_ShiftChar directly rather than have two different implementations that could desync
This commit is contained in:
parent
0845cf0775
commit
8e4e2eb0a9
1 changed files with 1 additions and 11 deletions
|
|
@ -1309,17 +1309,7 @@ boolean CON_Responder(event_t *ev)
|
|||
else if (key == KEY_KPADSLASH)
|
||||
key = '/';
|
||||
|
||||
// same capslock code as hu_stuff.c's HU_responder. Check there for details.
|
||||
if ((key >= 'a' && key <= 'z') || (key >= 'A' && key <= 'Z'))
|
||||
{
|
||||
if (shiftdown ^ capslock)
|
||||
key = shiftxform[key];
|
||||
}
|
||||
else
|
||||
{
|
||||
if (shiftdown)
|
||||
key = shiftxform[key];
|
||||
}
|
||||
key = CON_ShiftChar(key);
|
||||
|
||||
// enter a char into the command prompt
|
||||
if (key < 32 || key > 127)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue