diff options
Diffstat (limited to 'saga/script.cpp')
-rw-r--r-- | saga/script.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/saga/script.cpp b/saga/script.cpp index dd775608d0..7f6d0b78e5 100644 --- a/saga/script.cpp +++ b/saga/script.cpp @@ -302,18 +302,6 @@ void Script::loadModuleVoiceLUT(ModuleData &module, const byte *resourcePointer, } } -void Script::scriptError(ScriptThread *thread, const char *format, ...) { - char buf[STRINGBUFLEN]; - va_list argptr; - - va_start(argptr, format); - vsprintf(buf, format, argptr); - va_end (argptr); - - thread->_flags |= kTFlagAborted; - debug(0, "Script::scriptError %X: %s", thread->_instructionOffset, buf); - _vm->_console->DebugPrintf("Script::scriptError %X: %s", thread->_instructionOffset, buf); -} void Script::scriptInfo() { /* uint32 n_entrypoints; |