aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/talk.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-27 08:28:32 -0400
committerPaul Gilbert2015-08-27 08:28:32 -0400
commit55f9c364bcd717e3ae2b6c2b4effd942c930968e (patch)
treebc354270dba46b7c19339f2bf8ef35dc3e83923f /engines/sherlock/talk.h
parente96a302b74e70b862034cfbfb81af6093094d97d (diff)
downloadscummvm-rg350-55f9c364bcd717e3ae2b6c2b4effd942c930968e.tar.gz
scummvm-rg350-55f9c364bcd717e3ae2b6c2b4effd942c930968e.tar.bz2
scummvm-rg350-55f9c364bcd717e3ae2b6c2b4effd942c930968e.zip
SHERLOCK: RT: Fix talkTo filename getting changed mid-script
Calls to cmdPauseWithoutControl can allow a second script to run, with it's own filename. This shouldn't change the filename for the outer call to talkTo
Diffstat (limited to 'engines/sherlock/talk.h')
-rw-r--r--engines/sherlock/talk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/talk.h b/engines/sherlock/talk.h
index 694ac083b2..b3868d7293 100644
--- a/engines/sherlock/talk.h
+++ b/engines/sherlock/talk.h
@@ -289,7 +289,7 @@ public:
* Parses a reply for control codes and display text. The found text is printed within
* the text window, handles delays, animations, and animating portraits.
*/
- void doScript(const Common::String &script);
+ void doScript(const Common::String script);
/**
* Main method for handling conversations when a character to talk to has been