# HG changeset patch # User Scott Ehlert # Date 1277970202 18000 # Node ID 78f730f91439370c4dfe34cf2c3d8b26276034ca # Parent d799abb69fa778e41527e6e49fe231124ac9e079 Fixed problem on OBV where alternately loaded plugins (CreateInterface_MMS) could be incorrectly told they were on the OB engine (bug 4491, r=dvander). This only happened when there was more than one plugin that loaded this way. And the first plugin to load had to fail on OBV first so that OB could be tried. It was being permanently set to OB for future plugin loads and this caused problems. diff -r d799abb69fa7 -r 78f730f91439 core/metamod_plugins.cpp --- a/core/metamod_plugins.cpp Wed Jun 30 13:57:05 2010 -0500 +++ b/core/metamod_plugins.cpp Thu Jul 01 02:43:22 2010 -0500 @@ -465,6 +465,7 @@ { GlobVersionInfo.source_engine = SOURCE_ENGINE_ORANGEBOX; pl->m_API = fnLoad(&GlobVersionInfo, &info); + GlobVersionInfo.source_engine = SOURCE_ENGINE_ORANGEBOXVALVE; } #endif pl->m_UnloadFn = (METAMOD_FN_UNLOAD)dlsym(pl->m_Lib, "UnloadInterface_MMS");