diff options
author | Paul Gilbert | 2016-05-26 20:37:11 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:15:40 -0400 |
commit | f98ad3313499c8c6375f3216f5ae6ddb8faa3271 (patch) | |
tree | cb70c7473715604910cc554f9bf88c76cec8b8a5 /engines/titanic/true_talk/tt_word.cpp | |
parent | 1992afe4aa5ff8b02d38a0038fc390b6280ab358 (diff) | |
download | scummvm-rg350-f98ad3313499c8c6375f3216f5ae6ddb8faa3271.tar.gz scummvm-rg350-f98ad3313499c8c6375f3216f5ae6ddb8faa3271.tar.bz2 scummvm-rg350-f98ad3313499c8c6375f3216f5ae6ddb8faa3271.zip |
TITANIC: In-progress TTparser checkForAction
Diffstat (limited to 'engines/titanic/true_talk/tt_word.cpp')
-rw-r--r-- | engines/titanic/true_talk/tt_word.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/true_talk/tt_word.cpp b/engines/titanic/true_talk/tt_word.cpp index e799507d22..1bf4783459 100644 --- a/engines/titanic/true_talk/tt_word.cpp +++ b/engines/titanic/true_talk/tt_word.cpp @@ -26,7 +26,7 @@ namespace Titanic { -TTword::TTword(TTstring &str, WordClass wordClass, int id) : _string(str), +TTword::TTword(TTstring &str, WordClass wordClass, int id) : _text(str), _wordClass(wordClass), _id(id), _tag(0), _field24(0), _field28(0), _synP(nullptr), _nextP(nullptr) { _status = str.getStatus() == SS_VALID ? SS_VALID : SS_5; @@ -38,7 +38,7 @@ TTword::TTword(const TTword *src) { return; } - _string = src->_string; + _text = src->_text; _wordClass = src->_wordClass; _id = src->_id; _tag = src->_tag; @@ -138,7 +138,7 @@ int TTword::load(SimpleFile *file, WordClass wordClass) { int id; if (file->scanf("%d %s %s", &id, &str1, &str2)) { - _string = str1; + _text = str1; _id = id; _tag = readNumber(str2.c_str()); _wordClass = wordClass; @@ -186,7 +186,7 @@ bool TTword::findSynByName(const TTstring &str, TTsynonym *dest, int mode) const } bool TTword::compareTo(const char *str) const { - return _string == str; + return _text == str; } TTword *TTword::copy() const { |