From aa6e09f7e80379e9af3fa47e437a8632e1424fc7 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Thu, 11 Oct 2018 03:14:42 +0200 Subject: [PATCH] - fix debug build compile error --- src/scripting/vm/vmframe.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scripting/vm/vmframe.cpp b/src/scripting/vm/vmframe.cpp index c1049a4b45..ffd2f93911 100644 --- a/src/scripting/vm/vmframe.cpp +++ b/src/scripting/vm/vmframe.cpp @@ -230,8 +230,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(func)->NativeCall(params, func->DefaultArgs, numparams, returns, numret); VMCycles[0].Clock();