Remove CPluginManager direct use of CPlugin::m_FakeNativesMissing.
This commit is contained in:
parent
f27dbaf716
commit
ae44a6540a
@ -1283,8 +1283,8 @@ 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->m_FakeNativesMissing || pOther->m_LibraryMissing))
|
&& (pOther->HasMissingFakeNatives() || pOther->m_LibraryMissing))
|
||||||
|| pOther->m_FakeNativesMissing)
|
|| pOther->HasMissingFakeNatives())
|
||||||
{
|
{
|
||||||
TryRefreshDependencies(pOther);
|
TryRefreshDependencies(pOther);
|
||||||
}
|
}
|
||||||
|
@ -273,6 +273,10 @@ public:
|
|||||||
void AddRequiredLib(const char *name);
|
void AddRequiredLib(const char *name);
|
||||||
bool ForEachRequiredLib(ke::Lambda<bool(const char *)> callback);
|
bool ForEachRequiredLib(ke::Lambda<bool(const char *)> callback);
|
||||||
|
|
||||||
|
bool HasMissingFakeNatives() const {
|
||||||
|
return m_FakeNativesMissing;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool ReadInfo();
|
bool ReadInfo();
|
||||||
void DependencyDropped(CPlugin *pOwner);
|
void DependencyDropped(CPlugin *pOwner);
|
||||||
|
Loading…
Reference in New Issue
Block a user