aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_response.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_response.cpp')
-rw-r--r--engines/titanic/true_talk/tt_response.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_response.cpp b/engines/titanic/true_talk/tt_response.cpp
index 1c784ad320..3cb8d2c9ec 100644
--- a/engines/titanic/true_talk/tt_response.cpp
+++ b/engines/titanic/true_talk/tt_response.cpp
@@ -49,6 +49,12 @@ TTresponse::~TTresponse() {
}
}
+TTresponse *TTresponse::appendResponse(int id) {
+ TTresponse *resp = new TTresponse(id, 3);
+ _nextP = resp;
+ return resp;
+}
+
TTresponse *TTresponse::copyChain() const {
TTresponse *returnResponseP = new TTresponse(this);