aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorGregory Montoir2004-09-25 23:47:10 +0000
committerGregory Montoir2004-09-25 23:47:10 +0000
commitbb39c2e3890cf18428fd533961c9baad69feb9cb (patch)
treecc659d8a7376f98e61d448d2310dea63692547d2 /queen
parentf66960c4b9d6c090259d2522529035a4b8c6162e (diff)
downloadscummvm-rg350-bb39c2e3890cf18428fd533961c9baad69feb9cb.tar.gz
scummvm-rg350-bb39c2e3890cf18428fd533961c9baad69feb9cb.tar.bz2
scummvm-rg350-bb39c2e3890cf18428fd533961c9baad69feb9cb.zip
fix for bug #1034707
svn-id: r15279
Diffstat (limited to 'queen')
-rw-r--r--queen/cutaway.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp
index 37250eaf94..012ba4cc33 100644
--- a/queen/cutaway.cpp
+++ b/queen/cutaway.cpp
@@ -986,6 +986,10 @@ void Cutaway::run(char *nextFilename) {
joeBob->animating = 0;
joeBob->moving = 0;
+ // if the cutaway has been cancelled, we must stop the speech as well
+ if (_vm->sound()->speechOn())
+ _vm->sound()->stopSpeech();
+
_vm->input()->cutawayRunning(false);
_vm->input()->cutawayQuitReset();
_vm->input()->quickSaveReset();