aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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