aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-11-06 19:04:11 +0100
committerJaromir Wysoglad2019-11-06 19:04:11 +0100
commit0d3367cea2537f6ef32061478308e864eb4f5b08 (patch)
tree6363844bc79751336b94a035c05bc04b893cf8c4 /engines
parent56e5bd0d7702f448af7c414dba9f635c84c79913 (diff)
downloadscummvm-rg350-0d3367cea2537f6ef32061478308e864eb4f5b08.tar.gz
scummvm-rg350-0d3367cea2537f6ef32061478308e864eb4f5b08.tar.bz2
scummvm-rg350-0d3367cea2537f6ef32061478308e864eb4f5b08.zip
SUPERNOVA: Fix exiting scummvm from MSN 1 intro
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/supernova1/rooms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova1/rooms.cpp b/engines/supernova/supernova1/rooms.cpp
index a419ec9bf9..462e0e17e0 100644
--- a/engines/supernova/supernova1/rooms.cpp
+++ b/engines/supernova/supernova1/rooms.cpp
@@ -130,7 +130,7 @@ void Intro::titleScreen() {
g_system->delayMillis(_vm->_delay);
}
_vm->playSound(kAudioVoiceYeah);
- while (_vm->_sound->isPlaying())
+ while (_vm->_sound->isPlaying() && !_vm->shouldQuit())
_gm->wait(1);
_vm->paletteFadeOut();
}