1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

fixed more VSPlistening bugs

--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40600
This commit is contained in:
David Anderson 2007-12-23 09:25:39 +00:00
parent 90fb451242
commit 8c15b8d5da
2 changed files with 7 additions and 6 deletions

View File

@ -205,7 +205,7 @@ void CPluginManager::SetVSPAsLoaded()
event != pPlugin->m_Events.end(); event != pPlugin->m_Events.end();
event++) event++)
{ {
if (!(*event).got_vsp) if ((*event).got_vsp)
{ {
continue; continue;
} }
@ -406,7 +406,8 @@ CPluginManager::CPlugin *CPluginManager::_Load(const char *file, PluginId source
//if (pl->m_API->GetApiVersion() >= 4) //if (pl->m_API->GetApiVersion() >= 4)
pl->m_API->AllPluginsLoaded(); pl->m_API->AllPluginsLoaded();
} }
if (g_VspListener.IsRootLoadMethod()) if (g_VspListener.IsRootLoadMethod()
|| (g_VspListener.IsLoaded() && g_SmmAPI.VSPEnabled()))
{ {
SourceHook::List<CPluginEventHandler>::iterator event; SourceHook::List<CPluginEventHandler>::iterator event;
for (event = pl->m_Events.begin(); for (event = pl->m_Events.begin();

View File

@ -5,9 +5,9 @@
#define SVN_PRODUCT_VERSION "1.4.3" #define SVN_PRODUCT_VERSION "1.4.3"
#define SVN_REVISION 599 #define SVN_REVISION 600
#define SVN_REVISION_STRING "599" #define SVN_REVISION_STRING "600"
#define SVN_FILE_VERSION 1,4,3,599 #define SVN_FILE_VERSION 1,4,3,600
#define SVN_FILE_VERSION_STRING "1.4.3.599" #define SVN_FILE_VERSION_STRING "1.4.3.600"
#endif //_INCLUDE_SVN_VERSION_H_ #endif //_INCLUDE_SVN_VERSION_H_