mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +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
|
@ -1071,6 +1071,7 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Con_ToggleConsole_f ();
|
Con_ToggleConsole_f ();
|
||||||
|
Key_ClearStates ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue