diff options
author | Paul Gilbert | 2015-05-13 19:00:52 -0400 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-05-14 01:14:04 +0200 |
commit | afa49212e8dab03a48ec50c900a942c2843bce07 (patch) | |
tree | 9cba509990eb3270bb87b1f8a23cf3001659aba6 | |
parent | 2a7019bd3d47c9e40b5e78ee83cc7bfb1c08bd1a (diff) | |
download | scummvm-rg350-afa49212e8dab03a48ec50c900a942c2843bce07.tar.gz scummvm-rg350-afa49212e8dab03a48ec50c900a942c2843bce07.tar.bz2 scummvm-rg350-afa49212e8dab03a48ec50c900a942c2843bce07.zip |
SHERLOCK: Remove space/Enter handling for keyboard cursor
We don't implement the keyboard cursor movement anyway, and it was
stopping Space and Enter from working when showing dialogs
-rw-r--r-- | engines/sherlock/user_interface.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp index e4230cae83..aa6bf2ba81 100644 --- a/engines/sherlock/user_interface.cpp +++ b/engines/sherlock/user_interface.cpp @@ -167,11 +167,6 @@ void UserInterface::handleInput() { _vm->quitGame(); events.pollEvents(); return; - } else if (keyState.keycode == Common::KEYCODE_SPACE || - keyState.keycode == Common::KEYCODE_RETURN) { - events._pressed = false; - events._oldButtons = 0; - _keycode = Common::KEYCODE_INVALID; } } |