Skip to content

Commit

Permalink
SHERLOCK: RT: Fix crash closing text dialogs with the keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 16, 2015
1 parent 1591813 commit 2a70d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sherlock/talk.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2a70d2f

Please sign in to comment.