aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-11 15:34:13 +0000
committerTorbjörn Andersson2005-04-11 15:34:13 +0000
commit20aeccc383caf6506ea3664fe998dbeda4ce0818 (patch)
treef28500e54458f9ca49f73e9429b05bd90e2c0c33 /saga
parent549ee13d9a8f396e44b6667bb811bb0c44fb2e28 (diff)
downloadscummvm-rg350-20aeccc383caf6506ea3664fe998dbeda4ce0818.tar.gz
scummvm-rg350-20aeccc383caf6506ea3664fe998dbeda4ce0818.tar.bz2
scummvm-rg350-20aeccc383caf6506ea3664fe998dbeda4ce0818.zip
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
Diffstat (limited to 'saga')
-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