diff -r a48df3027569 -r 9a569e62130d core-legacy/sourcehook/generate/sourcehook.h --- a/core-legacy/sourcehook/generate/sourcehook.h Sun Jan 10 02:46:18 2010 -0500 +++ b/core-legacy/sourcehook/generate/sourcehook.h Mon Jan 11 20:00:01 2010 -0800 @@ -5204,7 +5204,7 @@ MemFuncInfo mfi = {true, -1, 0, 0}; \ GetFuncInfo(CCW::GRP(ptr), mfp, mfi); \ void *vfnptr = reinterpret_cast( \ - *reinterpret_cast(reinterpret_cast(ptr) + mfi.thisptroffs + mfi.vtbloffs) + mfi.vtblindex); + *reinterpret_cast(reinterpret_cast(CCW::GRP(ptr)) + mfi.thisptroffs + mfi.vtbloffs) + mfi.vtblindex); #define SH__CALL_GET_VFNPTR_MANUAL \ using namespace ::SourceHook; \