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
This commit is contained in:
Paul Gilbert 2015-05-13 19:00:52 -04:00 committed by Willem Jan Palenstijn
parent 2a7019bd3d
commit afa49212e8

View file

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