aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/script.h')
-rw-r--r--engines/m4/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/script.h b/engines/m4/script.h
index 7382c05b67..d57dbf2639 100644
--- a/engines/m4/script.h
+++ b/engines/m4/script.h
@@ -305,7 +305,7 @@ public:
// Is this ok?
template<class T>
const T& toData(const ScriptValue &value) {
- printf("ScriptInterpreter::toData() index = %d; type = %d; max = %d\n", value.value, _data[value.value]->type, _data.size());
+ debug(kDebugScript, "ScriptInterpreter::toData() index = %d; type = %d; max = %d\n", value.value, _data[value.value]->type, _data.size());
assert((uint32)value.value < _data.size());
T *result = 0;
_dataCache->load(_scriptFile, _data[value.value]->offset, result);