diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-10-07 00:46:46 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-10-07 00:46:46 +0200 |
commit | 97f44035f1b3ebd2681236c23f14c4d3ea7f09ac (patch) | |
tree | 6937ba54a2e43d5e42fcb1cb2950684b4ab3c3ac /src/ui/studio.cpp | |
parent | 70dae8796e96b309d95f220dfb083ed81261ceb6 (diff) | |
download | colobot-97f44035f1b3ebd2681236c23f14c4d3ea7f09ac.tar.gz colobot-97f44035f1b3ebd2681236c23f14c4d3ea7f09ac.tar.bz2 colobot-97f44035f1b3ebd2681236c23f14c4d3ea7f09ac.zip |
Changing and saving input bindings
Diffstat (limited to 'src/ui/studio.cpp')
-rw-r--r-- | src/ui/studio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/studio.cpp b/src/ui/studio.cpp index a581baa..2f58c95 100644 --- a/src/ui/studio.cpp +++ b/src/ui/studio.cpp @@ -241,8 +241,8 @@ bool CStudio::EventProcess(const Event &event) if ( event.type == EVENT_KEY_DOWN ) { - if ( event.key.key == m_main->GetInputBinding(INPUT_SLOT_CBOT).key || - event.key.key == m_main->GetInputBinding(INPUT_SLOT_CBOT).joy ) + if ( event.key.key == m_main->GetInputBinding(INPUT_SLOT_CBOT).primary || + event.key.key == m_main->GetInputBinding(INPUT_SLOT_CBOT).secondary ) { if ( m_helpFilename.length() > 0 ) { |