aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_vocab.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_vocab.h')
-rw-r--r--engines/titanic/true_talk/tt_vocab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_vocab.h b/engines/titanic/true_talk/tt_vocab.h
index 7e5cc29bc5..def42ba63d 100644
--- a/engines/titanic/true_talk/tt_vocab.h
+++ b/engines/titanic/true_talk/tt_vocab.h
@@ -68,7 +68,7 @@ private:
* @param str Word to check
* @returns New word instance for found match, or nullptr otherwise
*/
- TTword *getSuffixedWord(TTstring &str) const;
+ TTword *getSuffixedWord(TTstring &str, TTword **srcWord = nullptr) const;
/**
* Checks the passed word for common prefixes, and checks for a word
@@ -76,7 +76,7 @@ private:
* @param str Word to check
* @returns New word instance for found match, or nullptr otherwise
*/
- TTword *getPrefixedWord(TTstring &str) const;
+ TTword *getPrefixedWord(TTstring &str, TTword **srcWord = nullptr) const;
public:
TTvocab(VocabMode vocabMode);
~TTvocab();