Move OnQueryCvarValueFinished into the global hook manager.

This commit is contained in:
David Anderson
2015-08-31 09:22:08 -07:00
parent 2ed044804d
commit 5d55ff23bd
12 changed files with 178 additions and 154 deletions
+2 -6
View File
@@ -36,6 +36,7 @@
#include "compat_wrappers.h"
#include "logic_bridge.h"
#include <sourcemod_version.h>
#include "provider.h"
SourceMod_Core g_SourceMod_Core;
IVEngineServer *engine = NULL;
@@ -207,12 +208,7 @@ void SourceMod_Core::OnVSPListening(IServerPluginCallbacks *iface)
#endif
/* Notify! */
SMGlobalClass *pBase = SMGlobalClass::head;
while (pBase)
{
pBase->OnSourceModVSPReceived();
pBase = pBase->m_pGlobalClassNext;
}
sCoreProviderImpl.OnVSPReceived();
}
#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11