mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed: Events were processed as key events without checking their type.
This commit is contained in:
parent
22ccea8677
commit
0bdec4ea2e
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ void InputState::AddEvent(const event_t *ev)
|
|||
case KEY_MOUSE5: mouseSetBit(THUMB2_MOUSE, ev->type == EV_KeyDown); break;
|
||||
default: break;
|
||||
}
|
||||
keySetState(ev->data1, ev->type == EV_KeyDown);
|
||||
if (ev->data2) keySetChar(ev->data2);
|
||||
}
|
||||
keySetState(ev->data1, ev->type == EV_KeyDown);
|
||||
if (ev->data2) keySetChar(ev->data2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue