diff options
author | Paul Gilbert | 2016-12-17 10:36:47 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-17 10:36:47 -0500 |
commit | 81bf4476cd6237050caf4d6f8a5a1685cb77fa2a (patch) | |
tree | 769046e1480ee9ac6fe183f278ca88da12810765 | |
parent | fb3f76cde947b7320765793850d6e432dffa464e (diff) | |
download | scummvm-rg350-81bf4476cd6237050caf4d6f8a5a1685cb77fa2a.tar.gz scummvm-rg350-81bf4476cd6237050caf4d6f8a5a1685cb77fa2a.tar.bz2 scummvm-rg350-81bf4476cd6237050caf4d6f8a5a1685cb77fa2a.zip |
TITANIC: Revert incorrect change to category check in processEntries
-rw-r--r-- | engines/titanic/true_talk/tt_npc_script.cpp | 2 |
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 2a5c155421..7540a738b5 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; |