mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Make checkKey() test for EVENT_QUIT as well, so that we can quit the IHNM intro
even without using the keyboard shortcut. svn-id: r28765
This commit is contained in:
parent
fedb69dd6b
commit
4be77cb45e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user