diff options
Diffstat (limited to 'engines/illusions/thread.cpp')
-rw-r--r-- | engines/illusions/thread.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/illusions/thread.cpp b/engines/illusions/thread.cpp index 83e0ce5ab4..0a9b0d90b4 100644 --- a/engines/illusions/thread.cpp +++ b/engines/illusions/thread.cpp @@ -101,8 +101,10 @@ int Thread::update() { void Thread::terminate() { if (!_terminated) { - if (!(_notifyFlags & 1)) + if (!(_notifyFlags & 1)) { + debug("Thread::terminate() _callingThreadId: %08X", _callingThreadId); _vm->notifyThreadId(_callingThreadId); + } _callingThreadId = 0; onTerminated(); // TODO _vm->removeThread(_threadId, this); |