aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_concept_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_concept_node.h')
-rw-r--r--engines/titanic/true_talk/tt_concept_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_concept_node.h b/engines/titanic/true_talk/tt_concept_node.h
index 967625397a..f9e271f3c2 100644
--- a/engines/titanic/true_talk/tt_concept_node.h
+++ b/engines/titanic/true_talk/tt_concept_node.h
@@ -64,10 +64,10 @@ public:
bool createConcept(int mode, int conceptIndex, TTword *word);
int concept1WordId() const {
- return _concept1P ? _concept1P->getWordId() : 0;
+ return getWordId(_concept1P);
}
int concept5WordId() const {
- return _concept5P ? _concept5P->getWordId() : 0;
+ return getWordId(_concept5P);
}
};