diff --git a/sourcehook/sourcehook.cpp b/sourcehook/sourcehook.cpp index cda858e..413f9a4 100644 --- a/sourcehook/sourcehook.cpp +++ b/sourcehook/sourcehook.cpp @@ -1013,7 +1013,7 @@ namespace SourceHook // If you get a crash here, the ptr passed is invalid // This usually means a SH_DECL_MANUALHOOK* with wrong thisptroffs/vtbloffs/vtblidx CSourceHookImpl::CVfnPtr::CVfnPtr(void *ptr, void **pOneIgnore) : m_Ptr(ptr), - m_pOneIgnore(pOneIgnore), m_OrigEntry(*reinterpret_cast(ptr)) + m_OrigEntry(*reinterpret_cast(ptr)), m_pOneIgnore(pOneIgnore) { } CSourceHookImpl::CVfnPtr::~CVfnPtr()