mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 05:38:04 +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
|
// Query all plugins except core
|
||||||
CList<CFakeMetaPlugin>::iterator iter = m_Plugins.begin();
|
CList<CFakeMetaPlugin>::iterator iter = m_Plugins.begin();
|
||||||
|
|
||||||
|
// evilspy:
|
||||||
|
// using metamod p-extensions?
|
||||||
|
if(!gpMetaPExtFuncs)
|
||||||
++iter; // Skip core
|
++iter; // Skip core
|
||||||
|
|
||||||
for (; iter; ++iter)
|
for (; iter; ++iter)
|
||||||
{
|
{
|
||||||
(*iter).Query(pMetaUtilFuncs);
|
(*iter).Query(pMetaUtilFuncs);
|
||||||
@ -2609,9 +2614,7 @@ void CFakeMeta::Meta_Attach(PLUG_LOADTIME now, meta_globals_t *pMGlobals, gamedl
|
|||||||
// evilspy:
|
// evilspy:
|
||||||
// using metamod p-extensions?
|
// using metamod p-extensions?
|
||||||
if(!gpMetaPExtFuncs)
|
if(!gpMetaPExtFuncs)
|
||||||
{
|
|
||||||
++iter; // Skip core
|
++iter; // Skip core
|
||||||
}
|
|
||||||
|
|
||||||
for (; iter; ++iter)
|
for (; iter; ++iter)
|
||||||
{
|
{
|
||||||
@ -2627,9 +2630,8 @@ void CFakeMeta::Meta_Detach(PLUG_LOADTIME now, PL_UNLOAD_REASON reason)
|
|||||||
// evilspy:
|
// evilspy:
|
||||||
// using metamod p-extensions?
|
// using metamod p-extensions?
|
||||||
if(!gpMetaPExtFuncs)
|
if(!gpMetaPExtFuncs)
|
||||||
{
|
|
||||||
++iter; // Skip core
|
++iter; // Skip core
|
||||||
}
|
|
||||||
for (; iter; ++iter)
|
for (; iter; ++iter)
|
||||||
{
|
{
|
||||||
(*iter).Detach(now, reason);
|
(*iter).Detach(now, reason);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user