From 2a70d2facbb3373ad4eb1bcb70aec1c7f5ac71ed Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 16 Oct 2015 08:23:19 -0400 Subject: SHERLOCK: RT: Fix crash closing text dialogs with the keyboard --- engines/sherlock/talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index f324f192d8..e9c52276f6 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1196,7 +1196,7 @@ void Talk::talkWait(const byte *&str) { _endStr = true; // If a key was pressed to finish the window, see if further voice files should be skipped - if (_wait >= 0 && _wait < 254) { + if (IS_SERRATED_SCALPEL && _wait >= 0 && _wait < 254) { if (str[0] == _opcodes[OP_SFX_COMMAND]) str += 9; } -- cgit v1.2.3