aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/talk.cpp2
-rw-r--r--engines/sherlock/talk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 010bb3dab8..d0c74f8c4b 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -647,7 +647,7 @@ void Talk::pushSequence(int speaker) {
}
}
-void Talk::doScript(const Common::String &script) {
+void Talk::doScript(const Common::String script) {
People &people = *_vm->_people;
Scene &scene = *_vm->_scene;
Screen &screen = *_vm->_screen;
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