1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

Fixed crash when loading plugins built for MM:S 1.3 or older (API ver <= 9)

--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40701
This commit is contained in:
Scott Ehlert 2008-07-13 07:43:26 +00:00
parent ee77452d92
commit abd8737128
2 changed files with 3 additions and 1 deletions

View File

@ -414,7 +414,7 @@ CPluginManager::CPlugin *CPluginManager::_Load(const char *file, PluginId source
event != pl->m_Events.end();
event++)
{
if ((*event).got_vsp)
if (pl->m_API->GetApiVersion() < 10 || (*event).got_vsp)
{
continue;
}

View File

@ -1,4 +1,6 @@
2008/??/?? 1.4.4:
- Fixed a bug where loading plugins built for MM:S 1.3 or older (API ver <= 9)
would cause a crash.
- Fixed a bug where loading plugins using VDF files caused Metamod:Source
to crash on The Ship.
- Fixed a bug where VDF files were opened by MM:S even if the .vdf extension