From 27376b169759006e112a2d412cb8c34d0c558990 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 5 Mar 2017 11:39:25 +0200 Subject: [PATCH] Fixed compilation of Debug configuration src/scripting/vm/vmexec.cpp:204:44: error: no member named 'Native' in 'VMScriptFunction' --- src/scripting/vm/vmexec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/vm/vmexec.cpp b/src/scripting/vm/vmexec.cpp index 1ad4e3256..f8fb4bfd2 100644 --- a/src/scripting/vm/vmexec.cpp +++ b/src/scripting/vm/vmexec.cpp @@ -201,7 +201,7 @@ void VMFillParams(VMValue *params, VMFrame *callee, int numparam) VMScriptFunction *calleefunc = static_cast(callee->Func); const VMRegisters calleereg(callee); - assert(calleefunc != NULL && !calleefunc->Native); + assert(calleefunc != NULL && !(calleefunc->VarFlags & VARF_Native)); assert(numparam == calleefunc->NumArgs || ((int)calleefunc->DefaultArgs.Size() == calleefunc->NumArgs)); assert(REGT_INT == 0 && REGT_FLOAT == 1 && REGT_STRING == 2 && REGT_POINTER == 3);