aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/mads_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/mads_logic.cpp b/engines/m4/mads_logic.cpp
index 3481c58c5c..cebe2215ca 100644
--- a/engines/m4/mads_logic.cpp
+++ b/engines/m4/mads_logic.cpp
@@ -685,7 +685,7 @@ void MadsSceneLogic::execute(uint32 subOffset) {
if (gDebugLevel > 0) {
if (param != UNUSED_VAL)
sprintf(opcodeBuffer + strlen(opcodeBuffer), "\t%d", param);
- debugC(2, kDebugScript, opcodeBuffer);
+ debugC(2, kDebugScript, "%s", opcodeBuffer);
}
}