summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/script')
-rw-r--r--src/script/squirrel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/squirrel.cpp b/src/script/squirrel.cpp
index 9388c45b4..0465bd31c 100644
--- a/src/script/squirrel.cpp
+++ b/src/script/squirrel.cpp
@@ -33,7 +33,7 @@ void Squirrel::CompileError(HSQUIRRELVM vm, const SQChar *desc, const SQChar *so
engine->crashed = true;
SQPrintFunc *func = engine->print_func;
if (func == NULL) {
- scfprintf(stderr, _SC("%s"), buf);
+ DEBUG(misc, 0, "[Squirrel] Compile error: %s", SQ2OTTD(buf));
} else {
(*func)(true, buf);
}