forgot to commit this

--HG--
branch : sourcemod-1.0.x
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402046
This commit is contained in:
Borja Ferrer 2008-04-12 01:58:07 +00:00
parent 7849f4df20
commit 7e5e57cad1
2 changed files with 3 additions and 2 deletions

View File

@ -1375,7 +1375,7 @@ void CExtensionManager::CallOnCoreMapStart(edict_t *pEdictList, int edictCount,
for (iter=m_Libs.begin(); iter!=m_Libs.end(); iter++) for (iter=m_Libs.begin(); iter!=m_Libs.end(); iter++)
{ {
if (SMINTERFACE_EXTENSIONAPI_VERSION > 3) if ((*iter)->GetAPI()->GetExtensionVersion() > 3)
{ {
(*iter)->GetAPI()->OnCoreMapStart(pEdictList, edictCount, clientMax); (*iter)->GetAPI()->OnCoreMapStart(pEdictList, edictCount, clientMax);
} }

View File

@ -40,6 +40,7 @@
* @brief Defines the interface for loading/unloading/managing extensions. * @brief Defines the interface for loading/unloading/managing extensions.
*/ */
struct edict_t;
namespace SourceMod namespace SourceMod
{ {
class IExtensionInterface; class IExtensionInterface;
@ -131,7 +132,7 @@ namespace SourceMod
* Note: This is bumped when IShareSys is changed, because IShareSys * Note: This is bumped when IShareSys is changed, because IShareSys
* itself is not versioned. * itself is not versioned.
*/ */
#define SMINTERFACE_EXTENSIONAPI_VERSION 3 #define SMINTERFACE_EXTENSIONAPI_VERSION 4
/** /**
* @brief The interface an extension must expose. * @brief The interface an extension must expose.