mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
* (bug 2758) Toggling the console while holding keys can put the cgame/ui
keycatchers in a bad place since they see a key press for a key that is already in a down state. Simply clearing the down state of all keys as the console is toggled seems like a simple fix.
This commit is contained in:
parent
fe3e8ba879
commit
8b1b3464d7
1 changed files with 2 additions and 1 deletions
|
@ -1070,7 +1070,8 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
|
|||
if (!down) {
|
||||
return;
|
||||
}
|
||||
Con_ToggleConsole_f ();
|
||||
Con_ToggleConsole_f ();
|
||||
Key_ClearStates ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue