diff --git a/sourcemm/CPlugin.cpp b/sourcemm/CPlugin.cpp index 239f277..aecd031 100644 --- a/sourcemm/CPlugin.cpp +++ b/sourcemm/CPlugin.cpp @@ -205,7 +205,7 @@ void CPluginManager::SetVSPAsLoaded() event != pPlugin->m_Events.end(); event++) { - if (!(*event).got_vsp) + if ((*event).got_vsp) { continue; } @@ -406,7 +406,8 @@ CPluginManager::CPlugin *CPluginManager::_Load(const char *file, PluginId source //if (pl->m_API->GetApiVersion() >= 4) pl->m_API->AllPluginsLoaded(); } - if (g_VspListener.IsRootLoadMethod()) + if (g_VspListener.IsRootLoadMethod() + || (g_VspListener.IsLoaded() && g_SmmAPI.VSPEnabled())) { SourceHook::List::iterator event; for (event = pl->m_Events.begin(); diff --git a/sourcemm/svn_version.h b/sourcemm/svn_version.h index 15f8b97..59689e1 100644 --- a/sourcemm/svn_version.h +++ b/sourcemm/svn_version.h @@ -5,9 +5,9 @@ #define SVN_PRODUCT_VERSION "1.4.3" -#define SVN_REVISION 599 -#define SVN_REVISION_STRING "599" -#define SVN_FILE_VERSION 1,4,3,599 -#define SVN_FILE_VERSION_STRING "1.4.3.599" +#define SVN_REVISION 600 +#define SVN_REVISION_STRING "600" +#define SVN_FILE_VERSION 1,4,3,600 +#define SVN_FILE_VERSION_STRING "1.4.3.600" #endif //_INCLUDE_SVN_VERSION_H_