diff options
author | Ori Avtalion | 2016-10-17 16:10:38 +0300 |
---|---|---|
committer | Ori Avtalion | 2016-10-17 16:10:38 +0300 |
commit | d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2 (patch) | |
tree | faa0aa6b3b10d2e85644e7809e00902a8cd1e3be /engines | |
parent | 98eeaf8fb5e5ee64b8df94261d15cf25f7c4de03 (diff) | |
download | scummvm-rg350-d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2.tar.gz scummvm-rg350-d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2.tar.bz2 scummvm-rg350-d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2.zip |
TITANIC: Remove always-true test
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/true_talk/tt_concept.cpp | 2 |
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); } |