mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
Coding style adjustments
This commit is contained in:
parent
37a16dbba2
commit
c1b064c923
@ -1424,11 +1424,9 @@ bool CPluginManager::RunSecondPass(CPlugin *pPlugin, char *error, size_t maxleng
|
||||
pPlugin->GetPhrases()->AddPhraseFile("core.phrases");
|
||||
|
||||
/* Go through all other already loaded plugins and tell this plugin, that their libraries are loaded */
|
||||
List<CPlugin *>::iterator pl_iter;
|
||||
CPlugin *pl;
|
||||
for (pl_iter=m_plugins.begin(); pl_iter!=m_plugins.end(); pl_iter++)
|
||||
for (List<CPlugin *>::iterator pl_iter = m_plugins.begin(); pl_iter != m_plugins.end(); pl_iter++)
|
||||
{
|
||||
pl = (*pl_iter);
|
||||
CPlugin *pl = (*pl_iter);
|
||||
/* Don't call our own libraries again and only care for already loaded plugins */
|
||||
if (pl == pPlugin || pl->GetStatus() != Plugin_Running)
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user