aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saga/sthread.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/saga/sthread.cpp b/saga/sthread.cpp
index 1513fa65ea..6a591aae4a 100644
--- a/saga/sthread.cpp
+++ b/saga/sthread.cpp
@@ -691,10 +691,8 @@ bool Script::runThread(ScriptThread *thread, uint instructionLimit) {
debug(8, operandName);
_vm->_console->DebugPrintf("%s\n", operandName);
-
if (thread->_flags & (kTFlagFinished | kTFlagAborted)) {
- error("Wrong flags in thread");
-
+ error("Wrong flags %d in thread", thread->_flags);
}
// Set instruction offset only if a previous instruction didn't branch