aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-06-24 18:47:48 -0400
committerPaul Gilbert2017-06-24 18:47:48 -0400
commitb7cf99128f24469267176a3b1a19dc49b9d83696 (patch)
tree5bd46fb7751667beecca40256098877df0c85fea
parent0d5d6638090b819faa1a620fe71cb89b9fec0895 (diff)
downloadscummvm-rg350-b7cf99128f24469267176a3b1a19dc49b9d83696.tar.gz
scummvm-rg350-b7cf99128f24469267176a3b1a19dc49b9d83696.tar.bz2
scummvm-rg350-b7cf99128f24469267176a3b1a19dc49b9d83696.zip
TITANIC: Fix some incorrectly named speech method parameters
-rw-r--r--engines/titanic/true_talk/tt_talker.cpp4
-rw-r--r--engines/titanic/true_talk/tt_talker.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/tt_talker.cpp b/engines/titanic/true_talk/tt_talker.cpp
index 7e71bfcb77..b296ec25d1 100644
--- a/engines/titanic/true_talk/tt_talker.cpp
+++ b/engines/titanic/true_talk/tt_talker.cpp
@@ -26,11 +26,11 @@
namespace Titanic {
-void TTtalker::speechStarted(const CString &dialogueStr, uint dialogueId, uint speechHandle) {
+void TTtalker::speechStarted(const CString &dialogueStr, uint dialogueId, uint speechDuration) {
_line = dialogueStr;
_dialogueId = dialogueId;
- CTrueTalkNotifySpeechStartedMsg msg(speechHandle, dialogueId, 0);
+ CTrueTalkNotifySpeechStartedMsg msg(speechDuration, dialogueId, 0);
msg.execute(_npc, nullptr, MSGFLAG_BREAK_IF_HANDLED);
}
diff --git a/engines/titanic/true_talk/tt_talker.h b/engines/titanic/true_talk/tt_talker.h
index a83bddd952..60a2e56499 100644
--- a/engines/titanic/true_talk/tt_talker.h
+++ b/engines/titanic/true_talk/tt_talker.h
@@ -49,7 +49,7 @@ public:
/**
* Start a new speech
*/
- void speechStarted(const CString &dialogueStr, uint dialogueId, uint speechHandle);
+ void speechStarted(const CString &dialogueStr, uint dialogueId, uint speechDuration);
/**
* End the speech