From c4008703d1c20afac1ce60a37fc85b9cd2bba0f8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 30 Apr 2015 15:04:08 -1000 Subject: SHERLOCK: More descriptive comment for talkTo --- engines/sherlock/talk.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/sherlock') diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index 5a36303b21..de99fe0e88 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -149,9 +149,12 @@ void Talk::setSequences(const byte *talkSequences, const byte *stillSequences, i } /** - * Called when either an NPC initiates a conversation or for inventory item - * descriptions. It opens up a description window similar to how 'talk' does, - * but shows a 'reply' directly instead of waiting for a statement option. + * Called whenever a conversation or item script needs to be run. For standard conversations, + * it opens up a description window similar to how 'talk' does, but shows a 'reply' directly + * instead of waiting for a statement option. + * @remarks It seems that at some point, all item scripts were set up to use this as well. + * In their case, the conversation display is simply suppressed, and control is passed on to + * doScript to implement whatever action is required. */ void Talk::talkTo(const Common::String &filename) { Events &events = *_vm->_events; -- cgit v1.2.3