diff options
author | Paul Gilbert | 2015-08-24 19:44:25 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-24 19:44:25 -0400 |
commit | b4651801dd9fb4192863c283faa8955fc69ea7b0 (patch) | |
tree | a78fbaf9616fb09e6a0daab8f1767d8b6b48aa1d /engines/sherlock | |
parent | 1c6316a3569173c5d5f3f52bb1226d4343deb612 (diff) | |
download | scummvm-rg350-b4651801dd9fb4192863c283faa8955fc69ea7b0.tar.gz scummvm-rg350-b4651801dd9fb4192863c283faa8955fc69ea7b0.tar.bz2 scummvm-rg350-b4651801dd9fb4192863c283faa8955fc69ea7b0.zip |
SHERLOCK: RT: Fix aborting scripts prematurely after pausing
If a script was paused via a call to cmdPauseWithoutControl, and during
this a second script is called and finishes, the first script was
also being terminated prematurely
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/talk.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index dad6b411d5..010bb3dab8 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1064,6 +1064,7 @@ OpcodeReturn Talk::cmdPauseWithoutControl(const byte *&str) { events.setButtonState(); } + _endStr = false; return RET_SUCCESS; } |