mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
SHERLOCK: RT: Fix crash when clicking outside talk window to close it
This commit is contained in:
parent
b6995c5bd3
commit
b52d48e0da
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user