Fixed error when reloading dependant plugins using aliased natives (bug 5302, r=psychonic).
This commit is contained in:
parent
c9b7e9f9aa
commit
f46c58deaa
@ -1504,7 +1504,9 @@ void CPluginManager::TryRefreshDependencies(CPlugin *pPlugin)
|
|||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (native->status == SP_NATIVE_UNBOUND && !(native->flags & SP_NTVFLAG_OPTIONAL))
|
if (native->status == SP_NATIVE_UNBOUND
|
||||||
|
&& native->name[0] != '@'
|
||||||
|
&& !(native->flags & SP_NTVFLAG_OPTIONAL))
|
||||||
{
|
{
|
||||||
pPlugin->SetErrorState(Plugin_Error, "Native not found: %s", native->name);
|
pPlugin->SetErrorState(Plugin_Error, "Native not found: %s", native->name);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user