--- a/src/squirrel.cpp Sun Mar 25 21:22:34 2007 +0000
+++ b/src/squirrel.cpp Sun Mar 25 21:27:54 2007 +0000
@@ -12,15 +12,15 @@
void Squirrel::CompileError(HSQUIRRELVM vm, const SQChar *desc, const SQChar *source, SQInteger line, SQInteger column)
{
#ifdef _SQ64
- scprintf(_SC("Error %s:%ld/%ld: %s\n"), source, line, column, desc);
+ DEBUG(misc, 0, "Error %s:%ld/%ld: %s", source, line, column, desc);
#else
- scprintf(_SC("Error %s:%d/%d: %s\n"), source, line, column, desc);
+ DEBUG(misc, 0, "Error %s:%d/%d: %s", source, line, column, desc);
#endif
}
void Squirrel::RunError(HSQUIRRELVM vm, const char *error)
{
- DEBUG(ai, 0, "Your script made an error: %s\n", error);
+ DEBUG(misc, 0, "Your script made an error: %s\n", error);
}
SQInteger Squirrel::_RunError(HSQUIRRELVM vm)