diff --git a/engines/ags/engine/ac/system.cpp b/engines/ags/engine/ac/system.cpp index c16de469bab..409dd365125 100644 --- a/engines/ags/engine/ac/system.cpp +++ b/engines/ags/engine/ac/system.cpp @@ -342,7 +342,7 @@ RuntimeScriptValue Sc_System_SaveConfigToFile(const RuntimeScriptValue *params, RuntimeScriptValue Sc_System_Log(const RuntimeScriptValue *params, int32_t param_count) { API_SCALL_SCRIPT_SPRINTF_PURE(Sc_System_Log, 2); - Debug::Printf(kDbgGroup_Script, (MessageType)params[0].IValue, String::Wrapper(scsf_buffer)); + Debug::Printf(kDbgGroup_Script, (MessageType)params[0].IValue, scsf_buffer); return RuntimeScriptValue((int32_t)0); }