diff options
-rw-r--r-- | engines/titanic/true_talk/tt_string_node.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/true_talk/tt_synonym.cpp | 8 | ||||
-rw-r--r-- | engines/titanic/true_talk/tt_synonym.h | 5 |
3 files changed, 5 insertions, 11 deletions
diff --git a/engines/titanic/true_talk/tt_string_node.cpp b/engines/titanic/true_talk/tt_string_node.cpp index 5a21d73a9b..60c506e8cd 100644 --- a/engines/titanic/true_talk/tt_string_node.cpp +++ b/engines/titanic/true_talk/tt_string_node.cpp @@ -25,7 +25,8 @@ namespace Titanic { -TTstringNode::TTstringNode() : TTnode() { +TTstringNode::TTstringNode() : TTnode(), _file(HANDLE_STDIN), + _mode(0), _field1C(0) { } void TTstringNode::initialize(int mode) { diff --git a/engines/titanic/true_talk/tt_synonym.cpp b/engines/titanic/true_talk/tt_synonym.cpp index bb78e734ca..4629351f12 100644 --- a/engines/titanic/true_talk/tt_synonym.cpp +++ b/engines/titanic/true_talk/tt_synonym.cpp @@ -24,19 +24,17 @@ namespace Titanic { -TTsynonym::TTsynonym() : TTstringNode(), _file(HANDLE_STDIN), - _mode(0), _field1C(0) { +TTsynonym::TTsynonym() : TTstringNode() { } -TTsynonym::TTsynonym(const TTsynonym *src) : TTstringNode(), - _mode(0), _field1C(0) { +TTsynonym::TTsynonym(const TTsynonym *src) : TTstringNode() { _string = src->_string; initialize(src->_mode); _file = src->_file; } TTsynonym::TTsynonym(int mode, const char *str, FileHandle file) : - TTstringNode(), _mode(0), _field1C(0) { + TTstringNode() { _string = str; initialize(mode); _file = file; diff --git a/engines/titanic/true_talk/tt_synonym.h b/engines/titanic/true_talk/tt_synonym.h index d5dc2be09e..09f4617cf1 100644 --- a/engines/titanic/true_talk/tt_synonym.h +++ b/engines/titanic/true_talk/tt_synonym.h @@ -30,11 +30,6 @@ namespace Titanic { class TTsynonym : public TTstringNode { public: - TTstring _string; - FileHandle _file; - int _mode; - int _field1C; -public: TTsynonym(); TTsynonym(const TTsynonym *src); TTsynonym(int mode, const char *str, FileHandle file); |