mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Don't accept the bind for null and pause keys
This commit is contained in:
parent
035de09c15
commit
2f241343ff
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ qboolean UIBindButton::KeyEvent(int key, unsigned int time)
|
|||
return qfalse;
|
||||
}
|
||||
|
||||
if (key != K_ESCAPE) {
|
||||
if (key != K_ESCAPE && key != K_PAUSE && key != 0) {
|
||||
uWinMan.BindKeyToCommand(m_bindcommand, key, m_bindindex, m_alternate);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue