Updated SqRat to Squirrel 3.2 version #2
This commit is contained in:
@@ -1369,8 +1369,8 @@ public:
|
||||
sq_pushobject(vm, env);
|
||||
|
||||
#if !defined (SCRAT_NO_ERROR_CHECKING)
|
||||
SQUnsignedInteger nparams;
|
||||
SQUnsignedInteger nfreevars;
|
||||
SQInteger nparams;
|
||||
SQInteger nfreevars;
|
||||
if (obj._type != OT_NATIVECLOSURE &&
|
||||
SQ_SUCCEEDED(sq_getclosureinfo(vm, -2, &nparams, &nfreevars)) && (nparams != 3)) {
|
||||
sq_pop(vm, 2);
|
||||
|
||||
Reference in New Issue
Block a user