aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-17 21:45:04 -0400
committerPaul Gilbert2017-08-17 21:45:04 -0400
commit492169606baa5d20f4418ce02cedb3192a4ccb41 (patch)
treed76c36cf4d1860d14ac0646351f9768270f1a35f /engines
parent16faf2dd340e03529cb98c31a7620b809fea7b06 (diff)
downloadscummvm-rg350-492169606baa5d20f4418ce02cedb3192a4ccb41.tar.gz
scummvm-rg350-492169606baa5d20f4418ce02cedb3192a4ccb41.tar.bz2
scummvm-rg350-492169606baa5d20f4418ce02cedb3192a4ccb41.zip
TITANIC: Fix talking to Parrot
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/true_talk/parrot_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/parrot_script.cpp b/engines/titanic/true_talk/parrot_script.cpp
index f44b9d3be2..95ebbb5bfb 100644
--- a/engines/titanic/true_talk/parrot_script.cpp
+++ b/engines/titanic/true_talk/parrot_script.cpp
@@ -52,7 +52,7 @@ int ParrotScript::chooseResponse(const TTroomScript *roomScript, const TTsentenc
}
int ParrotScript::process(const TTroomScript *roomScript, const TTsentence *sentence) {
- if (processEntries(roomScript, sentence) == 2) {
+ if (processEntries(roomScript, sentence) != 2) {
int tagId = g_vm->_trueTalkManager->_quotes.find(sentence->_normalizedLine);
if (!tagId || chooseResponse(roomScript, sentence, tagId) != 2) {
addResponse(getDialogueId(sentence->checkCategory() ? 280248 : 280235));