D_ModifierKeyResponder now checks for ev_console as a "key down" event

console window uses ev_keyup too so don't worry about turning off
This commit is contained in:
Monster Iestyn 2017-02-04 23:26:37 +00:00
parent 823aa7d24d
commit dc249c6cd5
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ UINT8 altdown = 0; // 0x1 left, 0x2 right
//
static inline void D_ModifierKeyResponder(event_t *ev)
{
if (ev->type == ev_keydown) switch (ev->data1)
if (ev->type == ev_keydown || ev->type == ev_console) switch (ev->data1)
{
case KEY_LSHIFT: shiftdown |= 0x1; return;
case KEY_RSHIFT: shiftdown |= 0x2; return;