- fix debug build compile error

This commit is contained in:
Magnus Norddahl 2018-10-11 03:14:42 +02:00 committed by drfrag
parent 7230974c1e
commit 9b9113d0c4

View file

@ -234,8 +234,6 @@ int VMNativeFunction::NativeScriptCall(VMFunction *func, VMValue *params, int nu
{
try
{
assert((call->VarFlags & VARF_Native) && "DoNativeCall must only be called for native functions");
VMCycles[0].Unclock();
numret = static_cast<VMNativeFunction *>(func)->NativeCall(params, func->DefaultArgs, numparams, returns, numret);
VMCycles[0].Clock();