diff options
| author | oy <Tom_Adams@web.de> | 2010-09-12 13:40:24 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-09-12 13:40:24 +0200 |
| commit | 5437513a0d0101fe45137f2ad6d7086a94766cfe (patch) | |
| tree | f471c0fa4fc82211e9be47285ae3197c1c2a223f /src/game/client/components/menus_settings.cpp | |
| parent | 64c9b5c4abf8b96aac2ad5078a845ea8167e0907 (diff) | |
| download | zcatch-5437513a0d0101fe45137f2ad6d7086a94766cfe.tar.gz zcatch-5437513a0d0101fe45137f2ad6d7086a94766cfe.zip | |
use escape key to abort binding a control key in the menu
Diffstat (limited to 'src/game/client/components/menus_settings.cpp')
| -rw-r--r-- | src/game/client/components/menus_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 3a97e3ec..c7ecbf2f 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -31,7 +31,7 @@ bool CMenusKeyBinder::OnInput(IInput::CEvent Event) { if(m_TakeKey) { - if(Event.m_Flags&IInput::FLAG_PRESS && Event.m_Key != KEY_ESCAPE) + if(Event.m_Flags&IInput::FLAG_PRESS) { m_Key = Event; m_GotKey = true; |