diff -r 9fef23a837ac -r ed81bca8944a sourcemm/metamod_plugins.cpp --- a/sourcemm/metamod_plugins.cpp Mon Oct 08 17:32:28 2007 +0000 +++ b/sourcemm/metamod_plugins.cpp Mon Oct 08 18:47:31 2007 +0000 @@ -95,12 +95,12 @@ return NULL; } -SourceHook::List::iterator CPluginManager::_alias_begin() +SourceHook::List::iterator CPluginManager::_alias_begin() { return m_Aliases.begin(); } -SourceHook::List::iterator CPluginManager::_alias_end() +SourceHook::List::iterator CPluginManager::_alias_end() { return m_Aliases.end(); } @@ -426,7 +426,7 @@ } else { - pl->m_API = static_cast((pfn)(PLAPI_NAME, NULL)); + pl->m_API = static_cast((pfn)(METAMOD_PLAPI_NAME, NULL)); if (!pl->m_API) { if (error) @@ -446,11 +446,11 @@ } pl->m_Status = Pl_Error; } - else if (api > PLAPI_VERSION) + else if (api > METAMOD_PLAPI_VERSION) { if (error) { - UTIL_Format(error, maxlen, "Plugin API %d is newer than internal version (%d)", api, PLAPI_VERSION); + UTIL_Format(error, maxlen, "Plugin API %d is newer than internal version (%d)", api, METAMOD_PLAPI_VERSION); } pl->m_Status = Pl_Error; }