diff options
author | Paul Gilbert | 2015-10-16 08:23:19 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-10-16 08:23:19 -0400 |
commit | 2a70d2facbb3373ad4eb1bcb70aec1c7f5ac71ed (patch) | |
tree | 71df37bd8c816fca3ed24d03dcf01576541df98e /engines | |
parent | 15918139b76be21905c36c1328ec160aed422d8e (diff) | |
download | scummvm-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.cpp | 2 |
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; } |