sourcemm/CPlugin.cpp
changeset 51 7985801b5b42
parent 29 10e6dc40505e
child 67 1753f7a9b2f2
     1.1 --- a/sourcemm/CPlugin.cpp	Sun May 01 18:04:18 2005 +0000
     1.2 +++ b/sourcemm/CPlugin.cpp	Sun May 01 18:24:48 2005 +0000
     1.3 @@ -94,11 +94,10 @@
     1.4  	{
     1.5  		if ( (*i) && (*i)->m_Status == Pl_Running && (*i)->m_API )
     1.6  		{
     1.7 -			//004 is when we added this callback
     1.8 -			if ( (*i)->m_API->GetApiVersion() >= 004 )
     1.9 -			{
    1.10 -				(*i)->m_API->AllPluginsLoaded();
    1.11 -			}
    1.12 +			//API 4 is when we added this callback
    1.13 +			//Min version is now 5, so we ignore this check
    1.14 +			//if ( (*i)->m_API->GetApiVersion() >= 004 )
    1.15 +			(*i)->m_API->AllPluginsLoaded();
    1.16  		}
    1.17  	}
    1.18  }
    1.19 @@ -243,9 +242,10 @@
    1.20  							pl->m_Status = Pl_Running;
    1.21  							if (m_AllLoaded)
    1.22  							{
    1.23 -								//API 004 is when we added this callback
    1.24 -								if (pl->m_API->GetApiVersion() >= 4)
    1.25 -									pl->m_API->AllPluginsLoaded();
    1.26 +								//API 4 is when we added this callback
    1.27 +								//Removing this code as the min version is now 5
    1.28 +								//if (pl->m_API->GetApiVersion() >= 4)
    1.29 +								pl->m_API->AllPluginsLoaded();
    1.30  							}
    1.31  						} else {
    1.32  							pl->m_Status = Pl_Refused;