From 213c4093bac6954e17be4311d9a7840402764780 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 27 Oct 2004 22:17:11 +0000 Subject: Implement some script functions and report stubs. svn-id: r15691 --- saga/sthread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'saga/sthread.cpp') diff --git a/saga/sthread.cpp b/saga/sthread.cpp index c8be77c7fc..864b86d351 100644 --- a/saga/sthread.cpp +++ b/saga/sthread.cpp @@ -274,7 +274,7 @@ int Script::SThreadRun(SCRIPT_THREAD *thread, int instr_limit) { saved_offset = thread->i_offset; in_char = scriptS.readByte(); - debug(1, "Executing thread offset: %lu (%x) stack: %d", thread->i_offset, in_char, thread->stackSize()); + debug(2, "Executing thread offset: %lu (%x) stack: %d", thread->i_offset, in_char, thread->stackSize()); switch (in_char) { case 0x01: // nextblock @@ -390,8 +390,8 @@ int Script::SThreadRun(SCRIPT_THREAD *thread, int instr_limit) { sfunc = _SFuncList[func_num].sfunc_fp; if (sfunc == NULL) { - _vm->_console->print(S_WARN_PREFIX "%X: Undefined script function number: (%X)\n", - thread->i_offset, func_num); + _vm->_console->print(S_WARN_PREFIX "%X: Undefined script function number: #%d (%X)\n", + thread->i_offset, func_num, func_num); _vm->_console->print(S_WARN_PREFIX "Removing %d operand(s) from stack.\n", n_args); for (i = 0; i < n_args; i++) { thread->pop(); -- cgit v1.2.3