diff options
author | Paul Gilbert | 2016-02-06 20:46:25 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-02-06 20:46:25 -0500 |
commit | 79a3caf389368d6acf82a33e603e85cf28b6580d (patch) | |
tree | 0f331131eb4d7749e132abed87eb5cfb9b96fd62 /engines/sherlock | |
parent | b7b0aec65de67263bb20c8747c834d4c650886ae (diff) | |
download | scummvm-rg350-79a3caf389368d6acf82a33e603e85cf28b6580d.tar.gz scummvm-rg350-79a3caf389368d6acf82a33e603e85cf28b6580d.tar.bz2 scummvm-rg350-79a3caf389368d6acf82a33e603e85cf28b6580d.zip |
SHERLOCK: RT: Fix crash removing wax cylinders on gramaphone
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_talk.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp index a5ada7b63e..e6b9a9627e 100644 --- a/engines/sherlock/tattoo/tattoo_talk.cpp +++ b/engines/sherlock/tattoo/tattoo_talk.cpp @@ -795,7 +795,10 @@ OpcodeReturn TattooTalk::cmdTalkInterruptsDisable(const byte *&str) { error("Dum // Dummy opcode OpcodeReturn TattooTalk::cmdTalkInterruptsEnable(const byte *&str) { error("Dummy opcode cmdTalkInterruptsEnable called"); } -OpcodeReturn TattooTalk::cmdTurnSoundsOff(const byte *&str) { error("TODO: script opcode (cmdTurnSoundsOff)"); } +OpcodeReturn TattooTalk::cmdTurnSoundsOff(const byte *&str) { + _vm->_sound->stopSound(); + return RET_SUCCESS; +} OpcodeReturn TattooTalk::cmdWalkHolmesAndNPCToCAnimation(const byte *&str) { int npcNum = *++str; |