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();