Use internal sp::Environment directly in core/logic.
Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since they're now redundant.
This commit is contained in:
@@ -255,7 +255,7 @@ void EntityOutputManager::CleanUpHook(omg_hooks *hook)
|
||||
|
||||
OnHookRemoved();
|
||||
|
||||
IPlugin *pPlugin = plsys->FindPluginByContext(hook->pf->GetParentContext()->GetContext());
|
||||
IPlugin *pPlugin = plsys->FindPluginByContext(hook->pf->GetParentContext());
|
||||
SourceHook::List<omg_hooks *> *pList = NULL;
|
||||
|
||||
if (!pPlugin->GetProperty("OutputHookList", (void **)&pList, false) || !pList)
|
||||
|
||||
Reference in New Issue
Block a user