mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
One more core skipping thingy
This commit is contained in:
parent
a4be1ac635
commit
448da8bd9e
@ -2592,7 +2592,12 @@ void CFakeMeta::Meta_Query(mutil_funcs_t *pMetaUtilFuncs)
|
||||
|
||||
// Query all plugins except core
|
||||
CList<CFakeMetaPlugin>::iterator iter = m_Plugins.begin();
|
||||
|
||||
// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user