From 20aeccc383caf6506ea3664fe998dbeda4ce0818 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 11 Apr 2005 15:34:13 +0000 Subject: Slightly more informative error message. (I get this if I try to speak to one of the faire animals. I believe it's the one the original source code calls "FaireRam - 65", but I haven't verified that.) svn-id: r17544 --- saga/sthread.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'saga') 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 -- cgit v1.2.3