aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/introproc_ihnm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/introproc_ihnm.cpp')
-rw-r--r--engines/saga/introproc_ihnm.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/saga/introproc_ihnm.cpp b/engines/saga/introproc_ihnm.cpp
index aaa428ca53..6614f4098f 100644
--- a/engines/saga/introproc_ihnm.cpp
+++ b/engines/saga/introproc_ihnm.cpp
@@ -59,12 +59,8 @@ int Scene::IHNMStartProc() {
// Play Cyberdreams logo for 168 frames
if (!playTitle(0, logoLength, true)) {
- if (_vm->quit())
- return !SUCCESS;
// Play Dreamers Guild logo for 10 seconds
if (!playLoopingTitle(1, 10)) {
- if (_vm->quit())
- return !SUCCESS;
// Play the title music
_vm->_music->play(1, MUSIC_NORMAL);
// Play title screen
@@ -74,8 +70,6 @@ int Scene::IHNMStartProc() {
} else {
_vm->_music->play(1, MUSIC_NORMAL);
playTitle(0, 10);
- if (_vm->quit())
- return !SUCCESS;
playTitle(2, 12);
}
@@ -148,9 +142,9 @@ bool Scene::checkKey() {
while (_vm->_eventMan->pollEvent(event)) {
switch (event.type) {
- case Common::EVENT_RTL:
case Common::EVENT_QUIT:
res = true;
+ _vm->shutDown();
break;
case Common::EVENT_KEYDOWN:
// Don't react to modifier keys alone. The original did
@@ -193,7 +187,7 @@ bool Scene::playTitle(int title, int time, int mode) {
_vm->_gfx->getCurrentPal(pal_cut);
- while (!done && !_vm->quit()) {
+ while (!done) {
curTime = _vm->_system->getMillis();
switch (phase) {