diff options
author | Paul Gilbert | 2017-06-24 18:47:48 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-24 18:47:48 -0400 |
commit | b7cf99128f24469267176a3b1a19dc49b9d83696 (patch) | |
tree | 5bd46fb7751667beecca40256098877df0c85fea | |
parent | 0d5d6638090b819faa1a620fe71cb89b9fec0895 (diff) | |
download | scummvm-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.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/true_talk/tt_talker.h | 2 |
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 |