aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/ihnm_introproc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/ihnm_introproc.cpp')
-rw-r--r--engines/saga/ihnm_introproc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/saga/ihnm_introproc.cpp b/engines/saga/ihnm_introproc.cpp
index 53f215b87b..4768e21594 100644
--- a/engines/saga/ihnm_introproc.cpp
+++ b/engines/saga/ihnm_introproc.cpp
@@ -135,6 +135,9 @@ bool Scene::checkKey() {
while (_vm->_eventMan->pollEvent(event)) {
switch (event.type) {
+ case Common::EVENT_QUIT:
+ _vm->shutDown();
+ // fallthrough
case Common::EVENT_KEYDOWN:
res = true;
break;