aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-10-16 08:23:19 -0400
committerPaul Gilbert2015-10-16 08:23:19 -0400
commit2a70d2facbb3373ad4eb1bcb70aec1c7f5ac71ed (patch)
tree71df37bd8c816fca3ed24d03dcf01576541df98e /engines
parent15918139b76be21905c36c1328ec160aed422d8e (diff)
downloadscummvm-rg350-2a70d2facbb3373ad4eb1bcb70aec1c7f5ac71ed.tar.gz
scummvm-rg350-2a70d2facbb3373ad4eb1bcb70aec1c7f5ac71ed.tar.bz2
scummvm-rg350-2a70d2facbb3373ad4eb1bcb70aec1c7f5ac71ed.zip
SHERLOCK: RT: Fix crash closing text dialogs with the keyboard
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/talk.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}