aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs/true_talk_npc.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-28 21:50:49 -0400
committerPaul Gilbert2016-10-28 21:50:49 -0400
commitcf6ae0cd5ece7da5005c5e55378f7f2338c9068c (patch)
tree80f952a3dbfebe17623d88992a0d63862e23f2e1 /engines/titanic/npcs/true_talk_npc.cpp
parent4e903e7ac7d6cd02484b9692aae6dfe0f2af068f (diff)
downloadscummvm-rg350-cf6ae0cd5ece7da5005c5e55378f7f2338c9068c.tar.gz
scummvm-rg350-cf6ae0cd5ece7da5005c5e55378f7f2338c9068c.tar.bz2
scummvm-rg350-cf6ae0cd5ece7da5005c5e55378f7f2338c9068c.zip
TITANIC: More renaming and debug logging
Diffstat (limited to 'engines/titanic/npcs/true_talk_npc.cpp')
-rw-r--r--engines/titanic/npcs/true_talk_npc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/npcs/true_talk_npc.cpp b/engines/titanic/npcs/true_talk_npc.cpp
index b405ad42b6..15a70b1749 100644
--- a/engines/titanic/npcs/true_talk_npc.cpp
+++ b/engines/titanic/npcs/true_talk_npc.cpp
@@ -96,7 +96,8 @@ bool CTrueTalkNPC::DismissBotMsg(CDismissBotMsg *msg) {
}
bool CTrueTalkNPC::TrueTalkNotifySpeechStartedMsg(CTrueTalkNotifySpeechStartedMsg *msg) {
- debugC(ERROR_DETAILED, kDebugScripts, "%s TrueTalkNotifySpeechStartedMsg flags=%x", getName().c_str(), _npcFlags);
+ debugC(ERROR_DETAILED, kDebugScripts, "%s TrueTalkNotifySpeechStartedMsg flags=%x dialogueId=%d",
+ getName().c_str(), _npcFlags, msg->_dialogueId);
_npcFlags |= NPCFLAG_SPEAKING;
++_speechCounter;
@@ -128,7 +129,7 @@ bool CTrueTalkNPC::TrueTalkNotifySpeechStartedMsg(CTrueTalkNotifySpeechStartedMs
}
bool CTrueTalkNPC::TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg) {
- debugC(ERROR_DETAILED, kDebugScripts, "%s TrueTalkNotifySpeechEndedMsg flags=%x dialogId=%d", getName().c_str(), _npcFlags, msg->_dialogueId);
+ debugC(ERROR_DETAILED, kDebugScripts, "%s TrueTalkNotifySpeechEndedMsg flags=%x dialogueId=%d", getName().c_str(), _npcFlags, msg->_dialogueId);
_npcFlags &= ~NPCFLAG_SPEAKING;
--_speechCounter;
_speechDuration = 0;