diff options
author | Gregory Montoir | 2004-09-26 18:55:11 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-09-26 18:55:11 +0000 |
commit | bbb4de2360c8db3b84dabf4c5941b305ba7a0cfc (patch) | |
tree | 27f49717b896747ba1f8af640bf55a5d1bba3462 /queen/cutaway.cpp | |
parent | bc5407c15462b0be2bec522805f792295053a01f (diff) | |
download | scummvm-rg350-bbb4de2360c8db3b84dabf4c5941b305ba7a0cfc.tar.gz scummvm-rg350-bbb4de2360c8db3b84dabf4c5941b305ba7a0cfc.tar.bz2 scummvm-rg350-bbb4de2360c8db3b84dabf4c5941b305ba7a0cfc.zip |
stop the current sfx from playing if a cutaway is cancelled
svn-id: r15302
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r-- | queen/cutaway.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index 012ba4cc33..ae6bbc7e01 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -986,9 +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 the cutaway has been cancelled, we must stop the speech and the sfx as well if (_vm->sound()->speechOn()) _vm->sound()->stopSpeech(); + _vm->sound()->stopSfx(); _vm->input()->cutawayRunning(false); _vm->input()->cutawayQuitReset(); |