SHERLOCK: RT: Fix crash closing text dialogs with the keyboard

This commit is contained in:
Paul Gilbert 2015-10-16 08:23:19 -04:00
parent 15918139b7
commit 2a70d2facb

View file

@ -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;
}