aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-12 08:46:09 -0400
committerPaul Gilbert2015-08-12 08:46:09 -0400
commite6b070711a76f8cd4008d687d12eefaed231bed6 (patch)
tree5f7e4e7f8a41843e50b63d35a40b9aa18d16fc63 /engines/sherlock/scalpel
parent149b31c310e71451b4124feeb30213e6627129a0 (diff)
downloadscummvm-rg350-e6b070711a76f8cd4008d687d12eefaed231bed6.tar.gz
scummvm-rg350-e6b070711a76f8cd4008d687d12eefaed231bed6.tar.bz2
scummvm-rg350-e6b070711a76f8cd4008d687d12eefaed231bed6.zip
SHERLOCK: RT: Hook window/speech to ScummVM speech/subtitles setting
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel_scene.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp
index 2f60cebefe..ff92b50cab 100644
--- a/engines/sherlock/scalpel/scalpel_scene.cpp
+++ b/engines/sherlock/scalpel/scalpel_scene.cpp
@@ -169,7 +169,6 @@ void ScalpelScene::checkBgShapes() {
void ScalpelScene::doBgAnimCheckCursor() {
Inventory &inv = *_vm->_inventory;
Events &events = *_vm->_events;
- Sound &sound = *_vm->_sound;
UserInterface &ui = *_vm->_ui;
Common::Point mousePos = events.mousePos();
events.animateCursorIfNeeded();
@@ -193,11 +192,6 @@ void ScalpelScene::doBgAnimCheckCursor() {
events.setCursor(ARROW);
}
}
-
- if (sound._diskSoundPlaying && !*sound._soundIsOn) {
- // Loaded sound just finished playing
- sound.freeDigiSound();
- }
}
void ScalpelScene::doBgAnim() {