diff options
author | Paul Gilbert | 2017-01-24 22:32:55 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-24 22:32:55 -0500 |
commit | 8d6bb245ab822b01be4c89ef5716dc0f06d7c0c8 (patch) | |
tree | dcb2efe94b614bfefce8fefdd91e3fd2f8e10d1d /engines/titanic/true_talk | |
parent | 186697eca99b803435ba414ce28d4afafd9cd1fe (diff) | |
download | scummvm-rg350-8d6bb245ab822b01be4c89ef5716dc0f06d7c0c8.tar.gz scummvm-rg350-8d6bb245ab822b01be4c89ef5716dc0f06d7c0c8.tar.bz2 scummvm-rg350-8d6bb245ab822b01be4c89ef5716dc0f06d7c0c8.zip |
TITANIC: Fix TTconcept checkWordClass for script concepts
Diffstat (limited to 'engines/titanic/true_talk')
-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 02199153fb..b4313310db 100644 --- a/engines/titanic/true_talk/tt_concept.cpp +++ b/engines/titanic/true_talk/tt_concept.cpp @@ -258,7 +258,7 @@ bool TTconcept::checkWordId3() const { } bool TTconcept::checkWordClass() const { - return !_scriptP && _wordP && (_wordP->_wordClass == WC_THING || _wordP->_wordClass == WC_PRONOUN); + return _scriptP || (_wordP && (_wordP->_wordClass == WC_THING || _wordP->_wordClass == WC_PRONOUN)); } const TTstring TTconcept::getText() { |