aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-16 20:47:13 -0500
committerPaul Gilbert2016-12-16 20:47:13 -0500
commite21b38df666621ee057b6ba25f9756408693ccdc (patch)
treef825b32ec8be6543314adf26a47854a650c6f9fd /engines/titanic/true_talk
parentcbee771bad0bed004f01c36add9f0bdafb9b753c (diff)
downloadscummvm-rg350-e21b38df666621ee057b6ba25f9756408693ccdc.tar.gz
scummvm-rg350-e21b38df666621ee057b6ba25f9756408693ccdc.tar.bz2
scummvm-rg350-e21b38df666621ee057b6ba25f9756408693ccdc.zip
TITANIC: Fix getting 1st class suite from Deskbot
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r--engines/titanic/true_talk/tt_npc_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_npc_script.cpp b/engines/titanic/true_talk/tt_npc_script.cpp
index 7540a738b5..2a5c155421 100644
--- a/engines/titanic/true_talk/tt_npc_script.cpp
+++ b/engines/titanic/true_talk/tt_npc_script.cpp
@@ -707,7 +707,7 @@ int TTnpcScript::processEntries(const TTsentenceEntries *entries, uint entryCoun
for (uint loopCtr = 0; loopCtr < 2; ++loopCtr) {
for (uint entryCtr = 0; entryCtr < entryCount; ++entryCtr) {
const TTsentenceEntry &entry = (*entries)[entryCtr];
- if (entry._category != categoryNum && (loopCtr == 0 || entry._category))
+ if (entry._category == categoryNum && (loopCtr == 0 || entry._category))
continue;
bool flag;