Remove CPluginManager direct use of CPlugin::m_LibraryMissing.

This commit is contained in:
David Anderson 2015-09-19 17:42:22 -07:00
parent ae44a6540a
commit f765c8d436
2 changed files with 4 additions and 1 deletions

View File

@ -1283,7 +1283,7 @@ bool CPluginManager::RunSecondPass(CPlugin *pPlugin, char *error, size_t maxleng
{ {
CPlugin *pOther = (*pl_iter); CPlugin *pOther = (*pl_iter);
if ((pOther->GetStatus() == Plugin_Error if ((pOther->GetStatus() == Plugin_Error
&& (pOther->HasMissingFakeNatives() || pOther->m_LibraryMissing)) && (pOther->HasMissingFakeNatives() || pOther->HasMissingLibrary()))
|| pOther->HasMissingFakeNatives()) || pOther->HasMissingFakeNatives())
{ {
TryRefreshDependencies(pOther); TryRefreshDependencies(pOther);

View File

@ -276,6 +276,9 @@ public:
bool HasMissingFakeNatives() const { bool HasMissingFakeNatives() const {
return m_FakeNativesMissing; return m_FakeNativesMissing;
} }
bool HasMissingLibrary() const {
return m_LibraryMissing;
}
protected: protected:
bool ReadInfo(); bool ReadInfo();