Don't accept the bind for null and pause keys

This commit is contained in:
smallmodel 2023-12-28 17:21:32 +01:00
parent 035de09c15
commit 2f241343ff
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -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);
}