From 79a3caf389368d6acf82a33e603e85cf28b6580d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 6 Feb 2016 20:46:25 -0500 Subject: SHERLOCK: RT: Fix crash removing wax cylinders on gramaphone --- engines/sherlock/tattoo/tattoo_talk.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3