aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-10 14:44:42 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit0eea48a59b83861f3b488ab7d5beae71c620bccc (patch)
tree4ca1dbef40dbdb5e8d20aed702d7190cb22a2b8f
parent9b772cfb75de39a6800e8016bdccde60ae2246d7 (diff)
downloadscummvm-rg350-0eea48a59b83861f3b488ab7d5beae71c620bccc.tar.gz
scummvm-rg350-0eea48a59b83861f3b488ab7d5beae71c620bccc.tar.bz2
scummvm-rg350-0eea48a59b83861f3b488ab7d5beae71c620bccc.zip
DM: Add missing return in processInput with ctrl+d
-rw-r--r--engines/dm/eventman.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index 319156fd36..534b5dbfc8 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -533,6 +533,7 @@ Common::EventType EventManager::processInput(Common::Event *grabKey, Common::Eve
if (event.kbd.keycode == Common::KEYCODE_d && event.kbd.hasFlags(Common::KBD_CTRL)) {
_vm->_console->attach();
+ return Common::EVENT_INVALID;
}
if (grabKey) {