From e21b38df666621ee057b6ba25f9756408693ccdc Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 16 Dec 2016 20:47:13 -0500 Subject: TITANIC: Fix getting 1st class suite from Deskbot --- engines/titanic/true_talk/tt_npc_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic/true_talk') 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; -- cgit v1.2.3