aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/illusions/thread.cpp')
-rw-r--r--engines/illusions/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/thread.cpp b/engines/illusions/thread.cpp
index d984af2c67..3c327bab21 100644
--- a/engines/illusions/thread.cpp
+++ b/engines/illusions/thread.cpp
@@ -307,11 +307,11 @@ void ThreadList::killThread(uint32 threadId) {
if (!threadId)
return;
-
+
Thread *thread = findThread(threadId);
if (!thread)
return;
-
+
for (Iterator it = _threads.begin(); it != _threads.end(); ++it) {
Thread *childThread = *it;
if (childThread->_callingThreadId == threadId)