diff options
Diffstat (limited to 'engines/titanic/true_talk/tt_npc_script.cpp')
-rw-r--r-- | engines/titanic/true_talk/tt_npc_script.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/tt_npc_script.cpp b/engines/titanic/true_talk/tt_npc_script.cpp index 1f9bb83be1..070ecbb583 100644 --- a/engines/titanic/true_talk/tt_npc_script.cpp +++ b/engines/titanic/true_talk/tt_npc_script.cpp @@ -202,8 +202,12 @@ void TTnpcScript::setupDials(int dial1, int dial2, int dial3) { _field78 = -_field78; } -void TTnpcScript::proc4(int v) { - warning("TODO"); +void TTnpcScript::addResponse(int id) { + if (id > 200000) + id = getDialogueId(id); + + proc15(id); + TTscriptBase::addResponse(id); } int TTnpcScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence, uint tag) { @@ -266,7 +270,7 @@ void TTnpcScript::selectResponse(int id) { addResponse(id); } -int TTnpcScript::proc15() const { +int TTnpcScript::proc15(int id) const { return 0; } |