diff options
Diffstat (limited to 'engines/titanic/true_talk/tt_npc_script.h')
-rw-r--r-- | engines/titanic/true_talk/tt_npc_script.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_npc_script.h b/engines/titanic/true_talk/tt_npc_script.h index 261bc57d7b..b12c35d67a 100644 --- a/engines/titanic/true_talk/tt_npc_script.h +++ b/engines/titanic/true_talk/tt_npc_script.h @@ -241,6 +241,13 @@ protected: */ int processEntries(const TTsentenceEntries *entries, uint entryCount, TTroomScript *roomScript, TTsentence *sentence); + /** + * Scans through a list of sentence entries for a matching standardized response + */ + int processEntries(TTroomScript *roomScript, TTsentence *sentence) { + return processEntries(&_entries, _entryCount, roomScript, sentence); + } + bool defaultProcess(TTroomScript *roomScript, TTsentence *sentence); void checkItems(TTroomScript *roomScript, TTsentence *sentence); |