SHERLOCK: RT: Fix crash when clicking outside talk window to close it

This commit is contained in:
Paul Gilbert 2015-07-19 10:52:55 -04:00
parent b6995c5bd3
commit b52d48e0da

View File

@ -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();
}
}