diff -r 191a17592b87 -r 114eaa11dca2 sourcehook/sourcehook.cpp --- a/sourcehook/sourcehook.cpp Sat Jan 07 14:42:37 2006 +0000 +++ b/sourcehook/sourcehook.cpp Tue Jan 24 20:02:19 2006 +0000 @@ -419,6 +419,11 @@ for (CVfnPtr::IfaceListIter iface_iter = vfnptr_iter->m_Ifaces.begin(); iface_iter != vfnptr_iter->m_Ifaces.end();) { + if (iface_iter->m_Ptr != adjustediface) + { + iface_iter++; + continue; + } List &hooks = post ? iface_iter->m_PostHooks.m_List : iface_iter->m_PreHooks.m_List;