core-legacy/CPlugin.cpp
changeset 683 b507295429f9
parent 665 c2ed9ba7f74c
     1.1 --- a/core-legacy/CPlugin.cpp	Tue Nov 17 04:49:17 2009 -0500
     1.2 +++ b/core-legacy/CPlugin.cpp	Sun Nov 22 23:54:55 2009 -0600
     1.3 @@ -1,5 +1,5 @@
     1.4  /* ======== SourceMM ========
     1.5 - * Copyright (C) 2004-2008 Metamod:Source Development Team
     1.6 + * Copyright (C) 2004-2009 Metamod:Source Development Team
     1.7   * No warranties of any kind
     1.8   *
     1.9   * License: zlib/libpng
    1.10 @@ -12,7 +12,6 @@
    1.11  #include "CSmmAPI.h"
    1.12  #include "sourcemm.h"
    1.13  #include "concommands.h"
    1.14 -#include "vsp_listener.h"
    1.15  #include "util.h"
    1.16  
    1.17  /** 
    1.18 @@ -427,8 +426,7 @@
    1.19  								//if (pl->m_API->GetApiVersion() >= 4)
    1.20  								pl->m_API->AllPluginsLoaded();
    1.21  							}
    1.22 -							if (g_bIsBridgedAsVsp ||
    1.23 -								(g_VspListener.IsLoaded() && g_SmmAPI.VSPEnabled()))
    1.24 +							if (g_bIsBridgedAsVsp)
    1.25  							{
    1.26  								SourceHook::List<CPluginEventHandler>::iterator event;
    1.27  								for (event = pl->m_Events.begin();