aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/tattoo/widget_talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/widget_talk.cpp b/engines/sherlock/tattoo/widget_talk.cpp
index 412bd53b3d..5190773dd1 100644
--- a/engines/sherlock/tattoo/widget_talk.cpp
+++ b/engines/sherlock/tattoo/widget_talk.cpp
@@ -300,7 +300,7 @@ void WidgetTalk::handleEvents() {
for (int idx = 1; idx < MAX_CHARACTERS; ++idx) {
if (people[idx]._type == CHARACTER) {
- while (people[idx]._pathStack.empty())
+ while (!people[idx]._pathStack.empty())
people[idx].pullNPCPath();
}
}