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:
parent
7849f4df20
commit
7e5e57cad1
@ -1375,7 +1375,7 @@ void CExtensionManager::CallOnCoreMapStart(edict_t *pEdictList, int edictCount,
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -40,6 +40,7 @@
|
||||
* @brief Defines the interface for loading/unloading/managing extensions.
|
||||
*/
|
||||
|
||||
struct edict_t;
|
||||
namespace SourceMod
|
||||
{
|
||||
class IExtensionInterface;
|
||||
@ -131,7 +132,7 @@ namespace SourceMod
|
||||
* Note: This is bumped when IShareSys is changed, because IShareSys
|
||||
* itself is not versioned.
|
||||
*/
|
||||
#define SMINTERFACE_EXTENSIONAPI_VERSION 3
|
||||
#define SMINTERFACE_EXTENSIONAPI_VERSION 4
|
||||
|
||||
/**
|
||||
* @brief The interface an extension must expose.
|
||||
|
Loading…
Reference in New Issue
Block a user