core-legacy/sourcehook/generate/sourcehook.h
changeset 696 9a569e62130d
parent 680 39d0803bdb6e
     1.1 --- a/core-legacy/sourcehook/generate/sourcehook.h	Sun Jan 10 02:46:18 2010 -0500
     1.2 +++ b/core-legacy/sourcehook/generate/sourcehook.h	Mon Jan 11 20:00:01 2010 -0800
     1.3 @@ -5204,7 +5204,7 @@
     1.4  	MemFuncInfo mfi = {true, -1, 0, 0}; \
     1.5  	GetFuncInfo(CCW<Y>::GRP(ptr), mfp, mfi); \
     1.6  	void *vfnptr = reinterpret_cast<void*>( \
     1.7 -		*reinterpret_cast<void***>(reinterpret_cast<char*>(ptr) + mfi.thisptroffs + mfi.vtbloffs) + mfi.vtblindex);
     1.8 +		*reinterpret_cast<void***>(reinterpret_cast<char*>(CCW<Y>::GRP(ptr)) + mfi.thisptroffs + mfi.vtbloffs) + mfi.vtblindex);
     1.9  
    1.10  #define SH__CALL_GET_VFNPTR_MANUAL \
    1.11  	using namespace ::SourceHook; \