One more core skipping thingy

This commit is contained in:
Pavol Marko 2005-03-11 19:16:00 +00:00
parent a4be1ac635
commit 448da8bd9e

View File

@ -2592,7 +2592,12 @@ void CFakeMeta::Meta_Query(mutil_funcs_t *pMetaUtilFuncs)
// Query all plugins except core
CList<CFakeMetaPlugin>::iterator iter = m_Plugins.begin();
++iter; // Skip core
// evilspy:
// using metamod p-extensions?
if(!gpMetaPExtFuncs)
++iter; // Skip core
for (; iter; ++iter)
{
(*iter).Query(pMetaUtilFuncs);
@ -2609,9 +2614,7 @@ void CFakeMeta::Meta_Attach(PLUG_LOADTIME now, meta_globals_t *pMGlobals, gamedl
// evilspy:
// using metamod p-extensions?
if(!gpMetaPExtFuncs)
{
++iter; // Skip core
}
for (; iter; ++iter)
{
@ -2627,9 +2630,8 @@ void CFakeMeta::Meta_Detach(PLUG_LOADTIME now, PL_UNLOAD_REASON reason)
// evilspy:
// using metamod p-extensions?
if(!gpMetaPExtFuncs)
{
++iter; // Skip core
}
for (; iter; ++iter)
{
(*iter).Detach(now, reason);