aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/intro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky/intro.cpp')
-rw-r--r--engines/sky/intro.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sky/intro.cpp b/engines/sky/intro.cpp
index 024360561c..d7a94f6c2f 100644
--- a/engines/sky/intro.cpp
+++ b/engines/sky/intro.cpp
@@ -636,7 +636,6 @@ Intro::Intro(Disk *disk, Screen *screen, MusicBase *music, Sound *sound, Text *t
_textBuf = (uint8*)malloc(10000);
_saveBuf = (uint8*)malloc(10000);
_bgBuf = NULL;
- _quitProg = false;
_relDelay = 0;
}
@@ -912,8 +911,7 @@ bool Intro::escDelay(uint32 msecs) {
if (event.type == Common::EVENT_KEYDOWN) {
if (event.kbd.keycode == Common::KEYCODE_ESCAPE)
return false;
- } else if (event.type == Common::EVENT_QUIT) {
- _quitProg = true;
+ } else if (event.type == Common::EVENT_QUIT || event.type == Common::EVENT_RTL) {
return false;
}
}