From f765c8d4368e9e3edeb8ff54c0643eddc3a05c36 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 19 Sep 2015 17:42:22 -0700 Subject: [PATCH] Remove CPluginManager direct use of CPlugin::m_LibraryMissing. --- core/logic/PluginSys.cpp | 2 +- core/logic/PluginSys.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/logic/PluginSys.cpp b/core/logic/PluginSys.cpp index dcc97f9f..7276a96e 100644 --- a/core/logic/PluginSys.cpp +++ b/core/logic/PluginSys.cpp @@ -1283,7 +1283,7 @@ bool CPluginManager::RunSecondPass(CPlugin *pPlugin, char *error, size_t maxleng { CPlugin *pOther = (*pl_iter); if ((pOther->GetStatus() == Plugin_Error - && (pOther->HasMissingFakeNatives() || pOther->m_LibraryMissing)) + && (pOther->HasMissingFakeNatives() || pOther->HasMissingLibrary())) || pOther->HasMissingFakeNatives()) { TryRefreshDependencies(pOther); diff --git a/core/logic/PluginSys.h b/core/logic/PluginSys.h index a74f9d87..0284f53d 100644 --- a/core/logic/PluginSys.h +++ b/core/logic/PluginSys.h @@ -276,6 +276,9 @@ public: bool HasMissingFakeNatives() const { return m_FakeNativesMissing; } + bool HasMissingLibrary() const { + return m_LibraryMissing; + } protected: bool ReadInfo();