mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
Fixed compilation of Debug configuration
src/scripting/vm/vmexec.cpp:204:44: error: no member named 'Native' in 'VMScriptFunction'
This commit is contained in:
parent
38b86ad83c
commit
27376b1697
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ void VMFillParams(VMValue *params, VMFrame *callee, int numparam)
|
||||||
VMScriptFunction *calleefunc = static_cast<VMScriptFunction *>(callee->Func);
|
VMScriptFunction *calleefunc = static_cast<VMScriptFunction *>(callee->Func);
|
||||||
const VMRegisters calleereg(callee);
|
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(numparam == calleefunc->NumArgs || ((int)calleefunc->DefaultArgs.Size() == calleefunc->NumArgs));
|
||||||
assert(REGT_INT == 0 && REGT_FLOAT == 1 && REGT_STRING == 2 && REGT_POINTER == 3);
|
assert(REGT_INT == 0 && REGT_FLOAT == 1 && REGT_STRING == 2 && REGT_POINTER == 3);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue