Skip to content

Commit

Permalink
SHERLOCK: RT: Fix crash when clicking outside talk window to close it
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 19, 2015
1 parent b6995c5 commit b52d48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sherlock/tattoo/widget_talk.cpp
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit b52d48e

Please sign in to comment.