aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_concept_node.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-25 19:27:21 -0700
committerPaul Gilbert2019-07-25 19:27:21 -0700
commit536ae27e1cbc3a2cffd6f664196c46ba2defe4f8 (patch)
tree7ac21c0e408991ed5bf54f485c1c2cdccd20510d /engines/titanic/true_talk/tt_concept_node.h
parent65b8aa62a086a794937800188b00f19101a1298f (diff)
downloadscummvm-rg350-536ae27e1cbc3a2cffd6f664196c46ba2defe4f8.tar.gz
scummvm-rg350-536ae27e1cbc3a2cffd6f664196c46ba2defe4f8.tar.bz2
scummvm-rg350-536ae27e1cbc3a2cffd6f664196c46ba2defe4f8.zip
TITANIC: Fix gcc compiler warnings
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);
}
};