SHERLOCK: RT: Fix crash closing text dialogs with the keyboard
This commit is contained in:
parent
15918139b7
commit
2a70d2facb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue