From: Tobias Markus Date: Tue, 12 Aug 2014 23:50:32 +0000 (+0200) Subject: Fixes to sq_setprintfunc due to Squirrel API changes X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2157e3565ed3a1991c3481b49e724e388a69c560;p=supertux.git Fixes to sq_setprintfunc due to Squirrel API changes --- diff --git a/src/scripting/squirrel_util.cpp b/src/scripting/squirrel_util.cpp index 2c863905d..e2d13ba3b 100644 --- a/src/scripting/squirrel_util.cpp +++ b/src/scripting/squirrel_util.cpp @@ -89,7 +89,7 @@ void init_squirrel(bool enable_debugger) sq_pop(global_vm, 1); // register print function - sq_setprintfunc(global_vm, printfunc); + sq_setprintfunc(global_vm, printfunc, printfunc); // register default error handlers sqstd_seterrorhandlers(global_vm);