1.1 --- a/sourcehook/sourcehook.h Thu Apr 14 16:17:40 2005 +0000
1.2 +++ b/sourcehook/sourcehook.h Thu Apr 14 16:18:36 2005 +0000
1.3 @@ -314,7 +314,7 @@
1.4 param->vtbl_idx = mfi.vtblindex; \
1.5 param->vtbl_offs = mfi.vtbloffs; \
1.6 param->thisptr_offs = mfi.thisptroffs; \
1.7 - if (param->thisptr_offs) \
1.8 + if (param->thisptr_offs < 0) \
1.9 return 2; /*No virtual inheritance supported*/ \
1.10 GetFuncInfo(&SH_FHCls(ifacetype,ifacefunc,overload)::Func, mfi); \
1.11 param->hookfunc_vtbl_idx = mfi.vtblindex; \