sourcehook/sourcehook.cpp
changeset 331 40467046ea05
parent 328 3a04ef79edf1
child 332 030b917a8dcc
     1.1 --- a/sourcehook/sourcehook.cpp	Sat May 12 09:01:23 2007 +0000
     1.2 +++ b/sourcehook/sourcehook.cpp	Sat May 12 09:03:57 2007 +0000
     1.3 @@ -1013,7 +1013,7 @@
     1.4  	// If you get a crash here, the ptr passed is invalid
     1.5  	// This usually means a SH_DECL_MANUALHOOK* with wrong thisptroffs/vtbloffs/vtblidx
     1.6  	CSourceHookImpl::CVfnPtr::CVfnPtr(void *ptr, void **pOneIgnore) : m_Ptr(ptr), 
     1.7 -		m_pOneIgnore(pOneIgnore), m_OrigEntry(*reinterpret_cast<void**>(ptr))
     1.8 +		m_OrigEntry(*reinterpret_cast<void**>(ptr)), m_pOneIgnore(pOneIgnore)
     1.9  	{
    1.10  	}
    1.11  	CSourceHookImpl::CVfnPtr::~CVfnPtr()