From 12c81516cc07d72e2ef1094df7db1bb7057976c8 Mon Sep 17 00:00:00 2001 From: Ariya Hidayat Date: Fri, 17 Jun 2011 20:52:13 -0700 Subject: [PATCH] Never continue if terminated is flagged. --- src/phantom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phantom.cpp b/src/phantom.cpp index 0672079f..7bc5864b 100644 --- a/src/phantom.cpp +++ b/src/phantom.cpp @@ -199,7 +199,7 @@ bool Phantom::execute() return false; } - return true; + return !m_terminated; } int Phantom::returnValue() const