Skip to content

Commit

Permalink
TITANIC: Revert incorrect change to category check in processEntries
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 17, 2016
1 parent fb3f76c commit 81bf447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/true_talk/tt_npc_script.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 81bf447

Please sign in to comment.