Let SourceMod use OnUnlinkConCommandBase from MM:S 1.8 legacy API (bug 4080, r=ds).

This commit is contained in:
David Anderson 2009-10-29 00:53:31 -07:00
parent 5111b4799c
commit 5a21d8c24d
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ void SourceMod_Core::OnVSPListening(IServerPluginCallbacks *iface)
} }
} }
#if defined METAMOD_PLAPI_VERSION #if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
void SourceMod_Core::OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand) void SourceMod_Core::OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand)
{ {

View File

@ -76,7 +76,7 @@ public:
const char *GetLogTag(); const char *GetLogTag();
public: public:
void OnVSPListening(IServerPluginCallbacks *iface); void OnVSPListening(IServerPluginCallbacks *iface);
#if defined METAMOD_PLAPI_VERSION #if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
void OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand); void OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand);
#else #else
void OnPluginUnload(PluginId id); void OnPluginUnload(PluginId id);