aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/true_talk/tt_concept.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_concept.cpp b/engines/titanic/true_talk/tt_concept.cpp
index 3c52c9f13b..9aad88722b 100644
--- a/engines/titanic/true_talk/tt_concept.cpp
+++ b/engines/titanic/true_talk/tt_concept.cpp
@@ -146,7 +146,7 @@ void TTconcept::reset() {
}
bool TTconcept::compareTo(const char *str) const {
- return this != nullptr && _wordP != nullptr &&
+ return _wordP != nullptr &&
_wordP->compareTo(str);
}